Fixes #898: Replace hashicorp and terraform references (#973)

Signed-off-by: Janos Bonic <86970079+janosdebugs@users.noreply.github.com>
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
Co-authored-by: Christian Mesh <christianmesh1@gmail.com>
This commit is contained in:
Janos
2023-12-08 14:03:09 +01:00
committed by GitHub
parent 1a7b68aa56
commit 15bef1428a
470 changed files with 1952 additions and 1878 deletions

View File

@@ -333,7 +333,7 @@ func TestImport_initializationErrorShouldUnlock(t *testing.T) {
// specifically, it should fail due to a missing provider
msg := strings.ReplaceAll(ui.ErrorWriter.String(), "\n", " ")
if want := `provider registry.opentofu.org/hashicorp/unknown: required by this configuration but no version is selected`; !strings.Contains(msg, want) {
if want := `provider registry.opentofu.org/opentofu/unknown: required by this configuration but no version is selected`; !strings.Contains(msg, want) {
t.Errorf("incorrect message\nwant substring: %s\ngot:\n%s", want, msg)
}
@@ -978,5 +978,5 @@ func TestImport_targetIsModule(t *testing.T) {
const testImportStr = `
test_instance.foo:
ID = yay
provider = provider["registry.opentofu.org/hashicorp/test"]
provider = provider["registry.opentofu.org/opentofu/test"]
`