| commit | b5317a69800104d6031e6dab5d34901bc784359d | [log] [tgz] |
|---|---|---|
| author | Fabio Ponciroli <ponch78@gmail.com> | Wed Nov 17 16:25:45 2021 +0100 |
| committer | Fabio Ponciroli <ponch78@gmail.com> | Wed Nov 17 16:26:41 2021 +0100 |
| tree | b175988327517d3d50f9475f8cb21db9219c3b02 | |
| parent | e60137058a0e5606366c5527b6b61d6eeab19157 [diff] |
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};