Skip to content

Commit

Permalink
test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeykazakov committed Jul 5, 2024
1 parent 2a2e040 commit 4dbe286
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions controllers/nstemplateset/namespaces_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,7 @@ func TestEnsureNamespacesOK(t *testing.T) {
}

AssertThatNamespace(t, spacename+"-stage", manager.Client).
DoesNotExist()
DoesNotExist() // We provisioned the -dev namespace only
})
}
})
Expand Down Expand Up @@ -1129,7 +1129,7 @@ func TestUpdateNamespaces(t *testing.T) {
toolchainv1alpha1.FeatureToggleNameAnnotationKey: "feature-1-rb",
}
rbacRb := newRoleBinding(devNS.Name, "crtadmin-view", spacename)
manager, cl := prepareNamespacesManager(t, nsTmplSet, devNS, ro, rb, rbacRb)
manager, cl := prepareNamespacesManager(t, nsTmplSet, devNS, featuredRB, ro, rb, rbacRb)

// when
updated, err := manager.ensure(ctx, nsTmplSet)
Expand Down

0 comments on commit 4dbe286

Please sign in to comment.