Skip to content

Commit

Permalink
AUT-1104 Update Smart-ID test
Browse files Browse the repository at this point in the history
  • Loading branch information
Steinhain committed Jan 10, 2023
1 parent 9f1b46f commit c1a55d2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/test/groovy/ee/ria/tara/SmartIDAuthSpec.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ class SmartIDAuthSpec extends TaraSpecification {
def "initialize Smart-ID authentication with no smart-id contract: #label"() {
expect:
Steps.startAuthenticationInTara(flow, "openid smartid",login_locale)
Steps.initSidAuthSession(flow, flow.sessionId, "60001019906", Collections.emptyMap())
Steps.initSidAuthSession(flow, flow.sessionId, "29101290233", Collections.emptyMap())
Response pollResponse = Steps.pollSidResponse(flow, 1000L)
assertEquals(400, pollResponse.statusCode(), "Correct HTTP status code is returned")
assertEquals("application/json;charset=UTF-8", pollResponse.getContentType(), "Correct Content-Type is returned")
Expand All @@ -114,8 +114,8 @@ class SmartIDAuthSpec extends TaraSpecification {
where:
login_locale | label || errorMessage
"et" | "Estonian locale" || "Kasutajal puudub"
// "en" | "English locale" || "User has no Smart-ID account."
// "ru" | "Russian locale" || "У пользователя нет учетной записи Smart-ID."
"en" | "English locale" || "User has no Smart-ID account."
"ru" | "Russian locale" || "У пользователя нет учетной записи Smart-ID."
}

@Unroll
Expand Down

0 comments on commit c1a55d2

Please sign in to comment.