Polish tests

This commit is contained in:
Johnny Lim
2019-01-03 11:09:49 +09:00
committed by Rob Winch
parent 1a02cafe81
commit c94f13a971
4 changed files with 7 additions and 5 deletions

View File

@@ -92,7 +92,7 @@ public class AbstractRememberMeServicesTests {
String encoded = services.encodeCookie(cookie);
// '=' aren't allowed in version 0 cookies.
assertThat(encoded.endsWith("=")).isFalse();
assertThat(encoded).doesNotEndWith("=");
String[] decoded = services.decodeCookie(encoded);
assertThat(decoded).containsExactly("name:with:colon", "cookie", "tokens", "blah");