Skip to content
This repository has been archived by the owner on Oct 13, 2021. It is now read-only.

Commit

Permalink
use create instead of update
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Morsing committed Sep 30, 2019
1 parent 8100e70 commit 3c6f1dc
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -552,7 +552,7 @@ var _ = Describe("GitTrackObject Suite", func() {
})
child = testutils.ExampleClusterRoleBinding.DeepCopy()
Expect(testutils.SetGitTrackObjectInterfaceSpec(gto, child)).To(Succeed())
m.Update(child).Should(Succeed())
m.Create(child).Should(Succeed())
// get the most recent version so we can get the UID
m.Get(child, timeout).Should(Succeed())
originalUID = child.GetUID()
Expand Down

0 comments on commit 3c6f1dc

Please sign in to comment.