Skip to content

Commit

Permalink
Updated dependencies and syntax for scala-3.4.x
Browse files Browse the repository at this point in the history
  • Loading branch information
abrighton committed May 30, 2024
1 parent 2ed4513 commit bf746b7
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,17 @@ class AuthIntegrationTest
realms = Set(
Realm(
"TMT",
clients = Set(
Client("tmt-frontend-app", "public", passwordGrantEnabled = true, authorizationEnabled = false)),
users = Set(ApplicationUser("john", "secret", realmRoles = Set("admin"))),
clients = Set(Client("tmt-frontend-app", "public", passwordGrantEnabled = true, authorizationEnabled = false)),
users = Set(
ApplicationUser(
"john",
"secret",
firstName = "john",
lastName = "secret",
email = "john@tmt.org",
realmRoles = Set("admin")
)
),
realmRoles = Set("admin")
)
)
Expand Down Expand Up @@ -173,7 +181,15 @@ class AuthIntegrationTest
clients = Set(
Client("tmt-frontend-app", "public", passwordGrantEnabled = true, authorizationEnabled = false)
),
users = Set(ApplicationUser("john", "secret")),
users = Set(
ApplicationUser(
"john",
"secret",
firstName = "john",
lastName = "secret",
email = "john@tmt.org"
)
),
realmRoles = Set("admin")
)
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@ class ConfigCliAuthTest(ignore: Int)
ApplicationUser(
adminUser,
adminPassword,
firstName = adminUser,
lastName = adminUser,
email = s"$adminUser@tmt.org",
realmRoles = Set(configAdmin)
)
),
Expand Down

0 comments on commit bf746b7

Please sign in to comment.