I decided against it before since a lot of tests were panicing, but after consulting with peers I found out the tests were just minimally set up and before it was just fine without the current scope being set. Now we require it to be set as it would in a normal execution therefore I had to add a bit of setup to the tests
Summary:fmt.Sprintf("Usage of deprecated resource %q",n.Addr.Resource.Type),
Detail:fmt.Sprintf("The resource %q has been marked as deprecated by its provider. Please check the provider documentation for more information.",n.Addr.Resource.Type),