Skip to content

Commit 01fe44e

Browse files
committed
fix: ensure e2e test works with different outputs
Signed-off-by: Luca Di Maio <[email protected]>
1 parent 7500d90 commit 01fe44e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

e2e/tests/localregistry/localregistry.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,9 @@ var _ = DevSpaceDescribe("localregistry", func() {
422422
framework.ExpectError(err)
423423
gomega.Expect(output.String()).To(
424424
gomega.Or(
425+
gomega.ContainSubstring("unexpected status code 401"),
425426
gomega.ContainSubstring("unexpected status code 403"),
427+
gomega.ContainSubstring("access token has insufficient scopes"),
426428
gomega.ContainSubstring("UNAUTHORIZED: authentication required"),
427429
),
428430
)

0 commit comments

Comments
 (0)