From 0065745564c8bbbbd3607f41a147478407a3a6c4 Mon Sep 17 00:00:00 2001 From: Bas Strooband Date: Wed, 1 Jul 2020 09:20:24 +0200 Subject: [PATCH] Update export test after Symfony upgrade --- tests/behat/features/ra_export.feature | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/behat/features/ra_export.feature b/tests/behat/features/ra_export.feature index 6b9ad4dc..96e927b1 100644 --- a/tests/behat/features/ra_export.feature +++ b/tests/behat/features/ra_export.feature @@ -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,foo@bar.com,institution-a.example.com,123456,vetted" - And the response should contain "03945859,yubikey,Jane Ra,foo@bar.com,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\",foo@bar.com,institution-a.example.com,123456,vetted" + Then the response should contain "03945859,yubikey,\"Jane Ra\",foo@bar.com,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,foo@bar.com,institution-a.example.com,123456,vetted" - And the response should contain "03945859,yubikey,Jane Ra,foo@bar.com,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\",foo@bar.com,institution-a.example.com,123456,vetted" + Then the response should contain "03945859,yubikey,\"Jane Ra\",foo@bar.com,institution-a.example.com,123456,vetted"