Skip to content

Commit 7859675

Browse files
committed
WIP
1 parent 9deba31 commit 7859675

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

services/src/test/java/io/scalecube/services/registry/ServiceRegistryImplTest.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
package io.scalecube.services.registry;
22

3+
import static io.scalecube.services.transport.jackson.JacksonCodec.CONTENT_TYPE;
34
import static org.junit.jupiter.api.Assertions.*;
45
import static org.mockito.Mockito.mock;
56

@@ -67,7 +68,7 @@ void testRegisterThenUnregisterServiceEndpoint() {
6768
ServiceEndpoint.builder()
6869
.id("endpoint" + i)
6970
.address(Address.create("endpoint" + i, 4848))
70-
.contentTypes(Set.of("json"))
71+
.contentTypes(Set.of(CONTENT_TYPE))
7172
.serviceRegistrations(
7273
List.of(
7374
new ServiceRegistration(
@@ -116,7 +117,7 @@ void testLookupService() {
116117
ServiceEndpoint.builder()
117118
.id("endpoint" + i)
118119
.address(Address.create("endpoint" + i, 4848))
119-
.contentTypes(Set.of("application/json"))
120+
.contentTypes(Set.of(CONTENT_TYPE))
120121
.serviceRegistrations(
121122
List.of(
122123
new ServiceRegistration(

0 commit comments

Comments
 (0)