Skip to content

Commit

Permalink
more e2e tests
Browse files Browse the repository at this point in the history
Signed-off-by: reggie-k <[email protected]>
  • Loading branch information
reggie-k committed Jan 19, 2025
1 parent fb41ecc commit c34f1ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/e2e/repo_management_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -186,10 +186,10 @@ func TestFailOnPrivateRepoCreationWithPasswordAndBearerToken(t *testing.T) {
})
}

func TestCreatePrivateRepoWithBearerToken(t *testing.T) {
func TestFailOnCreatePrivateNonHTTPSRepoWithBearerToken(t *testing.T) {
app.Given(t).And(func() {
repoUrl := fixture.RepoURL(fixture.RepoURLTypeFile)
_, err := fixture.RunCli("repo", "add", repoUrl, "--bearer-token", "test")
require.NoError(t, err)
require.ErrorContains(t, err, "--bearer-token is only supported for HTTPS repositories")
})
}

0 comments on commit c34f1ac

Please sign in to comment.