Add isCaseInsensitive when calling ExternalId.Key.parse Change-Id: I15cccfc2df5b3915dbe3b3365065e85a5e1b2aa3
diff --git a/src/test/java/com/googlesource/gerrit/plugins/websession/broker/BrokerBasedWebSessionCacheTest.java b/src/test/java/com/googlesource/gerrit/plugins/websession/broker/BrokerBasedWebSessionCacheTest.java index c8afe82..833d0f8 100644 --- a/src/test/java/com/googlesource/gerrit/plugins/websession/broker/BrokerBasedWebSessionCacheTest.java +++ b/src/test/java/com/googlesource/gerrit/plugins/websession/broker/BrokerBasedWebSessionCacheTest.java
@@ -51,7 +51,8 @@ private static final int DEFAULT_ACCOUNT_ID = 1000000; private static final String KEY = "aSceprtma6B0qZ0hKxXHvQ5iyfUhCcFXxG"; - private static Val VAL = FakeWebSessionVal.getVal(Account.id(1), ExternalId.Key.parse("foo:bar")); + private static Val VAL = + FakeWebSessionVal.getVal(Account.id(1), ExternalId.Key.parse("foo:bar", true)); private static final String PLUGIN_NAME = "websession-broker"; private byte[] emptyPayload = new byte[] {-84, -19, 0, 5, 112};