Skip to content

Commit bf91e56

Browse files
author
Inbal Tako
committed
Fix tests
1 parent 4b93c54 commit bf91e56

File tree

2 files changed

+3
-14
lines changed

2 files changed

+3
-14
lines changed

pom.xml.asc

Lines changed: 0 additions & 11 deletions
This file was deleted.

src/test/java/com/securenative/ApiManagerImplTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ public class ApiManagerImplTest extends HTTPServerMock {
3535
public ApiManagerImplTest() throws SecureNativeInvalidOptionsException {
3636
// init default event for tests
3737
SecureNativeContext context = SecureNative.contextBuilder()
38-
.ip("127.0.0.1")
39-
.clientToken("SECURED_CLIENT_TOKEN")
40-
.headers(Maps.defaultBuilder()
38+
.withIp("127.0.0.1")
39+
.withClientToken("SECURED_CLIENT_TOKEN")
40+
.withHeaders(Maps.defaultBuilder()
4141
.put("user-agent", "Mozilla/5.0 (iPad; U; CPU OS 3_2_1 like Mac OS X; en-us) AppleWebKit/531.21.10 (KHTML, like Gecko) Mobile/7B405")
4242
.build())
4343
.build();

0 commit comments

Comments
 (0)