Skip to content

Commit

Permalink
Require token for test
Browse files Browse the repository at this point in the history
Signed-off-by: Raghav Kaul <[email protected]>
  • Loading branch information
raghavkaul committed Jun 28, 2023
1 parent c046273 commit 08979c0
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions clients/gitlabrepo/client_e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,10 @@ var _ = Describe("E2E TEST: gitlabrepo.commitsHandler", func() {
})
})

var _ = Describe("E2E TEST: githubrepo.client", func() {
var _ = Describe("E2E TEST: gitlabrepo.client", func() {
Context("checkRepoInaccessible", func() {
It("returns that the repo is inaccessible", func() {
It("returns that the repo is inaccessible - GitLab", func() {
skipIfTokenIsNot(gitlabPATTokenType, "GitLab only")
repo, err := MakeGitlabRepo("https://gitlab.com/ossf-test/private-project")
Expect(err).Should(BeNil())

Expand All @@ -67,7 +68,7 @@ var _ = Describe("E2E TEST: githubrepo.client", func() {
Expect(err).ShouldNot(BeNil())
})

It("should initialize gitlab repos without error", func() {
It("should initialize repos without error - GitLab", func() {
repo, err := MakeGitlabRepo("https://gitlab.com/fdroid/fdroidclient")
Expect(err).Should(BeNil())

Expand Down

0 comments on commit 08979c0

Please sign in to comment.