Skip to content

Commit 4b93c54

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

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/test/java/com/securenative/context/SecureNativeContextBuilderTest.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -83,13 +83,13 @@ public void createDefaultContextBuilderTest() {
8383
public void createCustomContextWithContextBuilderTest() {
8484
SecureNativeContext context = SecureNativeContextBuilder
8585
.defaultContextBuilder()
86-
.url("/some-url")
87-
.clientToken("SECRET_TOKEN")
88-
.ip("10.0.0.0")
89-
.body("{ \"name\": \"YOUR_NAME\" }")
90-
.method("Get")
91-
.remoteIp("10.0.0.1")
92-
.headers(Maps.defaultBuilder()
86+
.withUrl("/some-url")
87+
.withClientToken("SECRET_TOKEN")
88+
.withIp("10.0.0.0")
89+
.withBody("{ \"name\": \"YOUR_NAME\" }")
90+
.withMethod("Get")
91+
.withRemoteIp("10.0.0.1")
92+
.withHeaders(Maps.defaultBuilder()
9393
.put("header1", "value1")
9494
.build())
9595
.build();

0 commit comments

Comments
 (0)