Skip to content

Commit

Permalink
Update controllers/nstemplatetier/nstemplatetier_controller_test.go
Browse files Browse the repository at this point in the history
Co-authored-by: Matous Jobanek <mjobanek@redhat.com>
  • Loading branch information
mfrancisc and MatousJobanek authored Jan 14, 2025
1 parent cc1f580 commit 9a4a5ca
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion controllers/nstemplatetier/nstemplatetier_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,14 @@ func TestReconcile(t *testing.T) {
tierTemplates := initTierTemplates(t, withTemplateObjects(crq), base1nsTier.Name)
base1nsTierWithRevisions := base1nsTier
base1nsTierWithRevisions.Status.Revisions = map[string]string{
"base1ns-admin-123456new": "base1ns-admin-123456new-abcd", "base1ns-clusterresources-123456new": "base1ns-clusterresources-123456new-abcd", "base1ns-code-123456new": "base1ns-code-123456new-abcd", "base1ns-dev-123456new": "base1ns-dev-123456new-abcd", "base1ns-edit-123456new": "`base1ns-edit-123456new-abcd", "base1ns-stage-123456new": "base1ns-stage-123456new-abcd", "base1ns-viewer-123456new": "base1ns-viewer-123456new-abcd"}
"base1ns-admin-123456new": "base1ns-admin-123456new-abcd",
"base1ns-clusterresources-123456new": "base1ns-clusterresources-123456new-abcd",
"base1ns-code-123456new": "base1ns-code-123456new-abcd",
"base1ns-dev-123456new": "base1ns-dev-123456new-abcd",
"base1ns-edit-123456new": "`base1ns-edit-123456new-abcd",
"base1ns-stage-123456new": "base1ns-stage-123456new-abcd",
"base1ns-viewer-123456new": "base1ns-viewer-123456new-abcd",
}
r, req, cl := prepareReconcile(t, base1nsTierWithRevisions.Name, append(tierTemplates, base1nsTierWithRevisions)...)
// when
// check no TTR is present before reconciling
Expand Down

0 comments on commit 9a4a5ca

Please sign in to comment.