You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
os::cmd::expect_success_and_text 'oc status'"You don't have any projects. You can try to create a new project, by running"
45
45
os::cmd::expect_success_and_text 'oc status --all-namespaces'"Showing all projects on server"
46
46
# make sure `oc status` does not re-use the "no projects" message from `oc login` if -n is specified
47
-
os::cmd::expect_failure_and_text 'oc status -n forbidden''Error from server \(Forbidden\): User "test-user" cannot get project "forbidden"'
47
+
os::cmd::expect_failure_and_text 'oc status -n forbidden''Error from server \(Forbidden\): User "test-user" cannot get projects in the namespace "forbidden"'
# make sure `oc status` does not use "no projects" message if there is a project created
54
54
os::cmd::expect_success_and_text 'oc status'"In project my project \(project-bar\) on server"
55
-
os::cmd::expect_failure_and_text 'oc status -n forbidden''Error from server \(Forbidden\): User "test-user" cannot get project "forbidden"'
55
+
os::cmd::expect_failure_and_text 'oc status -n forbidden''Error from server \(Forbidden\): User "test-user" cannot get projects in the namespace "forbidden"'
unauthorizedError="the server has asked for the client to provide credentials (get users ~)"
38
-
anonymousError=`User "system:anonymous" cannot get users at the cluster scope`
38
+
anonymousError=`User "system:anonymous" cannot get users at the cluster scope.: "User \"system:anonymous\" cannot get users at the cluster scope" (get users ~)`
0 commit comments