Skip to content

Commit

Permalink
AclsImpl takes the EventLogConfig directly
Browse files Browse the repository at this point in the history
  • Loading branch information
olivergrabinski committed Mar 21, 2024
1 parent aafaccf commit a861378
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import cats.effect.IO
import ch.epfl.bluebrain.nexus.delta.rdf.jsonld.context.JsonLdContext.keywords
import ch.epfl.bluebrain.nexus.delta.sdk.acls.model.AclAddress.{Organization, Project, Root}
import ch.epfl.bluebrain.nexus.delta.sdk.acls.model.{Acl, AclAddress}
import ch.epfl.bluebrain.nexus.delta.sdk.acls.{AclCheck, Acls, AclsConfig, AclsImpl}
import ch.epfl.bluebrain.nexus.delta.sdk.acls.{AclCheck, Acls, AclsImpl}
import ch.epfl.bluebrain.nexus.delta.sdk.identities.IdentitiesDummy
import ch.epfl.bluebrain.nexus.delta.sdk.identities.model.Caller
import ch.epfl.bluebrain.nexus.delta.sdk.implicits._
Expand Down Expand Up @@ -90,7 +90,7 @@ class AclsRoutesSpec extends BaseRouteSpec {
IO.pure(Set(aclsPermissions.read, aclsPermissions.write, managePermission, events.read)),
Acls.findUnknownRealms(_, Set(realm1, realm2)),
Set(aclsPermissions.read, aclsPermissions.write, managePermission, events.read),
AclsConfig(EventLogConfig(QueryConfig(5, RefreshStrategy.Stop), 100.millis)),
EventLogConfig(QueryConfig(5, RefreshStrategy.Stop), 100.millis),
xas,
clock
)
Expand Down

0 comments on commit a861378

Please sign in to comment.