Skip to content

Commit 3247af6

Browse files
committed
fixed scala test
1 parent d94962f commit 3247af6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

samples/client/petstore/scala/src/test/scala/UserApiTest.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ class UserApiTest extends FlatSpec with Matchers with BeforeAndAfterAll {
5454

5555
it should "authenticate a user" in {
5656
api.loginUser("scala-test-username", "SCALATEST") match {
57-
case Some(status) => status.startsWith("logged in user session") match {
57+
case Some(status) => status.contains("logged in user session") match {
5858
case true => // success!
5959
case _ => fail("didn't get expected message " + status)
6060
}

0 commit comments

Comments
 (0)