Skip to content

Commit

Permalink
add no-code module default value in create tests
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelhrocha committed Nov 3, 2022
1 parent 1e612e9 commit 6bb5c5a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions registry_module_integration_test.go
Expand Up @@ -106,6 +106,7 @@ func TestRegistryModulesCreate(t *testing.T) {
assert.Equal(t, *options.Provider, rm.Provider)
assert.Equal(t, PrivateRegistry, rm.RegistryName)
assert.Equal(t, orgTest.Name, rm.Namespace)
assert.False(t, rm.NoCode, "no-code module attribute should be false by default")

assertRegistryModuleAttributes(t, rm)
})
Expand All @@ -123,6 +124,7 @@ func TestRegistryModulesCreate(t *testing.T) {
assert.Equal(t, *options.Provider, rm.Provider)
assert.Equal(t, options.RegistryName, rm.RegistryName)
assert.Equal(t, orgTest.Name, rm.Namespace)
assert.False(t, rm.NoCode, "no-code module attribute should be false by default")

assertRegistryModuleAttributes(t, rm)
})
Expand All @@ -141,6 +143,7 @@ func TestRegistryModulesCreate(t *testing.T) {
assert.Equal(t, *options.Provider, rm.Provider)
assert.Equal(t, options.RegistryName, rm.RegistryName)
assert.Equal(t, options.Namespace, rm.Namespace)
assert.False(t, rm.NoCode, "no-code module attribute should be false by default")

assertRegistryModuleAttributes(t, rm)
})
Expand Down

0 comments on commit 6bb5c5a

Please sign in to comment.