Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
mbryzek committed Jun 21, 2024
1 parent c4ba4ef commit 3624c4e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/test/db/MembershipRequestsDaoSpec.scala
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class MembershipRequestsDaoSpec extends PlaySpec with GuiceOneAppPerSuite with d
}

"findAll for organization key" in {
val otherOrg = createOrganization()
createOrganization()
val newOrg = createOrganization()
val request = membershipRequestsDao.upsert(testUser, newOrg, member, MembershipRole.Admin)
Seq(request) must equal(
Expand Down Expand Up @@ -104,7 +104,7 @@ class MembershipRequestsDaoSpec extends PlaySpec with GuiceOneAppPerSuite with d
membershipsDao.findByOrganizationAndUserAndRole(Authorization.All, newOrg, member, MembershipRole.Member).get.user must equal(member)

organizationLogsDao.findAll(Authorization.All, organization = Some(newOrg), limit = 1).map(_.message) must equal(
Seq("Accepted membership request for %s to join as Member".format(member.email))
Seq("Accepted membership request for %s to join as member".format(member.email))
)
}

Expand Down

0 comments on commit 3624c4e

Please sign in to comment.