Skip to content

Commit

Permalink
fixed compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
thjaeckle committed Nov 12, 2018
1 parent cdcc1ff commit f6e07fe
Showing 1 changed file with 1 addition and 2 deletions.
Expand Up @@ -43,7 +43,6 @@
*/
public final class PolicyCacheUpdateActorTest {

private static final int INSTANCE_INDEX = 0;
private static final String POLICY_ID = "my.namespace:policy_id";
private static final EntityId ENTITY_ID = EntityId.of(PolicyCommand.RESOURCE_TYPE, POLICY_ID);
private static final DittoHeaders DITTO_HEADERS = DittoHeaders.empty();
Expand Down Expand Up @@ -76,7 +75,7 @@ public void init() {

pubSubMediatorProbe = new TestProbe(system, "mockPubSubMediator");

final Props props = PolicyCacheUpdateActor.props(mockEnforcerCache, pubSubMediatorProbe.ref(), INSTANCE_INDEX);
final Props props = PolicyCacheUpdateActor.props(mockEnforcerCache, pubSubMediatorProbe.ref(), "0");
updateActor = system.actorOf(props);

testKit = new TestKit(system);
Expand Down

0 comments on commit f6e07fe

Please sign in to comment.