Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
strehle committed Nov 18, 2023
1 parent 788d102 commit bf0de61
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions spec/client_reg_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,12 @@ module CF::UAA
Cli.run("client jwt delete #{@test_client} ").should be
end

it "fails to get client" do
Cli.run("token client get #{@test_client} -s #{@test_secret}").should be
Cli.run("token client get not-existing -s secret").should be_nil
Cli.output.string.should include 'invalid_client'
end

context 'as updated client' do

before :all do
Expand Down

0 comments on commit bf0de61

Please sign in to comment.