Merge pull request #25271 from euank/fix-missing-resttest-call

Automatic merge from submit-queue

test: Call forgotten resttest test

PR #3789 introduced this test, but it was never called.

This test was created, but never called.
Written, but never run.
It has neither flaked nor asserted. At its inception it was deserted.
My change gives this test a chance, to at long last finally pass.

The resttest stuff is a bit complicated and I'm not totally sure I put it in the right place  @smarterclayton, want to double check this change makes sense?
This commit is contained in:
k8s-merge-robot 2016-05-16 23:49:39 -07:00
commit 6376b52b90

View File

@ -152,6 +152,7 @@ func (t *Tester) TestCreate(valid runtime.Object, createFn CreateFunc, getFn Get
t.testCreateDiscardsObjectNamespace(copyOrDie(valid))
t.testCreateIgnoresContextNamespace(copyOrDie(valid))
t.testCreateIgnoresMismatchedNamespace(copyOrDie(valid))
t.testCreateResetsUserData(copyOrDie(valid))
} else {
t.testCreateRejectsMismatchedNamespace(copyOrDie(valid))
}