You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
assert.Regexp(t, "unable to create NSTemplateTiers: unable to create or update the 'base' NSTemplateTier: unable to create resource of kind: NSTemplateTier, version: v1alpha1: an error", err.Error())
130
-
})
131
-
132
-
t.Run("failed to update nstemplatetiers", func(t*testing.T) {
133
-
// given
134
-
// initialize the client with an existing `advanced` NSTemplatetier
assert.Contains(t, err.Error(), "unable to create NSTemplateTiers: unable to create or update the 'advanced' NSTemplateTier: unable to create resource of kind: NSTemplateTier, version: v1alpha1: unable to update the resource")
129
+
assert.Regexp(t, "unable to create NSTemplateTiers: unable to create or update the 'base' NSTemplateTier: unable to patch 'toolchain.dev.openshift.com/v1alpha1, Kind=NSTemplateTier' called 'base' in namespace '[a-zA-Z0-9-]+': an error", err.Error())
149
130
})
150
131
})
151
132
152
133
t.Run("tiertemplates", func(t*testing.T) {
153
-
t.Run("failed to create nstemplatetiers", func(t*testing.T) {
134
+
t.Run("failed to create tiertemplate", func(t*testing.T) {
0 commit comments