Skip to content

Commit

Permalink
Fix broken unit test
Browse files Browse the repository at this point in the history
Signed-off-by: Nikhil Thomas <nikthoma@redhat.com>
  • Loading branch information
nikhil-thomas authored and tekton-robot committed Jul 23, 2021
1 parent 32746b8 commit 8cbff87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/reconciler/common/install_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ func TestUninstall(t *testing.T) {
// Deliberately mixing the order in the manifest.
in := []unstructured.Unstructured{crd, deployment, role, roleBinding, clusterRole, clusterRoleBinding}
// Expect things to be deleted, non-rbac resources first and then in reversed order.
want := []unstructured.Unstructured{deployment, crd, clusterRoleBinding, clusterRole, roleBinding, role}
want := []unstructured.Unstructured{crd, deployment, clusterRoleBinding, clusterRole, roleBinding, role}

client := &fakeClient{resourcesExist: true}
manifest, err := mf.ManifestFrom(mf.Slice(in), mf.UseClient(client))
Expand Down

0 comments on commit 8cbff87

Please # to comment.