diff --git a/e2e/branch_protection_test.go b/e2e/branch_protection_test.go index 98cf31cbe77..f6d1b8579d2 100644 --- a/e2e/branch_protection_test.go +++ b/e2e/branch_protection_test.go @@ -52,7 +52,8 @@ var _ = Describe("E2E TEST:"+checks.CheckBranchProtection, func() { // UPGRADEv2: to remove. // Old version. Expect(result.Error).Should(BeNil()) - Expect(result.Pass).Should(BeTrue()) + Expect(result.Pass).Should(BeFalse()) + // New version. Expect(scut.ValidateTestReturn(nil, "branch protection accessible", &expected, &result, &dl)).Should(BeTrue()) Expect(repoClient.Close()).Should(BeNil())