Skip to content

Commit

Permalink
Update export test after Symfony upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
pablothedude committed Jul 1, 2020
1 parent b403afe commit 0065745
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/behat/features/ra_export.feature
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@ Feature: A RAA can export tokens registered in the selfservice portal
Given I am logged in into the ra portal as "jane-a-raa" with a "yubikey" token
When I visit the Tokens page
And I click on the token export button
Then the response should contain "Token ID,Type,Name,Email,Institution,Document Number,Status"
And the response should contain "03945859,yubikey,Jane Raa,[email protected],institution-a.example.com,123456,vetted"
And the response should contain "03945859,yubikey,Jane Ra,[email protected],institution-a.example.com,123456,vetted"
Then the response should contain "\"Token ID\",Type,Name,Email,Institution,\"Document Number\",Status"
Then the response should contain "03945859,yubikey,\"Jane Raa\",[email protected],institution-a.example.com,123456,vetted"
Then the response should contain "03945859,yubikey,\"Jane Ra\",[email protected],institution-a.example.com,123456,vetted"

Scenario: a user which is at least RAA for one institution can export tokens
Given I am logged in into the ra portal as "joe-a-raa" with a "yubikey" token
When I visit the Tokens page
And I click on the token export button
Then the response should contain "Token ID,Type,Name,Email,Institution,Document Number,Status"
And the response should contain "03945859,yubikey,Jane Raa,[email protected],institution-a.example.com,123456,vetted"
And the response should contain "03945859,yubikey,Jane Ra,[email protected],institution-a.example.com,123456,vetted"
Then the response should contain "\"Token ID\",Type,Name,Email,Institution,\"Document Number\",Status"
Then the response should contain "03945859,yubikey,\"Jane Raa\",[email protected],institution-a.example.com,123456,vetted"
Then the response should contain "03945859,yubikey,\"Jane Ra\",[email protected],institution-a.example.com,123456,vetted"

0 comments on commit 0065745

Please sign in to comment.