Using UUID for consumer key generation in DirectLogin test

This commit is contained in:
Simon Redfern 2016-04-30 04:23:35 +02:00
parent efabba240f
commit b9c4c3130a
2 changed files with 7 additions and 4 deletions

View File

@ -36,8 +36,6 @@ To compile and run jetty, install Maven 3 and execute:
./mvn.sh jetty:run
## To run with IntelliJ IDEA
* Make sure you have the IntelliJ Scala plugin installed.
@ -82,6 +80,11 @@ To compile and run jetty, install Maven 3 and execute:
set bank_account_creation_listener=false in test.default.props
## Other ways to run tests
* See http://www.scalatest.org/user_guide
----
## Ubuntu

View File

@ -15,8 +15,8 @@ import code.api.DirectLogin.registeredApplication
class directloginTest extends ServerSetup {
val KEY = randomString(20)
val SECRET = randomString(20)
val KEY = java.util.UUID.randomUUID.toString
val SECRET = java.util.UUID.randomUUID.toString
val EMAIL = randomString(10)
val PASSWORD = randomString(20)