Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
artem-v committed Dec 8, 2024
1 parent 9deba31 commit 7859675
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package io.scalecube.services.registry;

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

Expand Down Expand Up @@ -67,7 +68,7 @@ void testRegisterThenUnregisterServiceEndpoint() {
ServiceEndpoint.builder()
.id("endpoint" + i)
.address(Address.create("endpoint" + i, 4848))
.contentTypes(Set.of("json"))
.contentTypes(Set.of(CONTENT_TYPE))
.serviceRegistrations(
List.of(
new ServiceRegistration(
Expand Down Expand Up @@ -116,7 +117,7 @@ void testLookupService() {
ServiceEndpoint.builder()
.id("endpoint" + i)
.address(Address.create("endpoint" + i, 4848))
.contentTypes(Set.of("application/json"))
.contentTypes(Set.of(CONTENT_TYPE))
.serviceRegistrations(
List.of(
new ServiceRegistration(
Expand Down

0 comments on commit 7859675

Please sign in to comment.