Skip to content

Commit

Permalink
test: (SMS/Inbounds) Refactor V0 tests
Browse files Browse the repository at this point in the history
  • Loading branch information
JPPortier committed Dec 19, 2024
1 parent cce5d78 commit 5df68e3
Show file tree
Hide file tree
Showing 10 changed files with 13 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,19 +40,19 @@ class InboundsServiceTest extends BaseTest {

String uriPartID = "foovalue";

@GivenJsonResource("/domains/sms/v1/MOBinaryDto.json")
@GivenJsonResource("/domains/sms/v1/inbounds/MOBinaryDto.json")
InboundDto binary;

@GivenJsonResource("/domains/sms/v1/MOTextDto.json")
@GivenJsonResource("/domains/sms/v1/inbounds/MOTextDto.json")
InboundDto text;

@GivenJsonResource("/domains/sms/v1/InboundsListResponseDtoPage0.json")
@GivenJsonResource("/domains/sms/v1/inbounds/response/internal/InboundsListResponseDtoPage0.json")
ApiInboundListDto inboundsLisResponseDtoPage0;

@GivenJsonResource("/domains/sms/v1/InboundsListResponseDtoPage1.json")
@GivenJsonResource("/domains/sms/v1/inbounds/response/internal/InboundsListResponseDtoPage1.json")
ApiInboundListDto inboundsLisResponseDtoPage1;

@GivenJsonResource("/domains/sms/v1/InboundsListResponseDtoPage2.json")
@GivenJsonResource("/domains/sms/v1/inbounds/response/internal/InboundsListResponseDtoPage2.json")
ApiInboundListDto inboundsLisResponseDtoPage2;

@BeforeEach
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@
@TestWithResources
public class WebHooksServiceTest extends BaseTest {

@GivenTextResource("/domains/sms/v1/MOBinaryDto.json")
@GivenTextResource("/domains/sms/v1/inbounds/MOBinaryDto.json")
String incomingSMSBinaryJsonString;

@GivenTextResource("/domains/sms/v1/MOTextDto.json")
@GivenTextResource("/domains/sms/v1/inbounds/MOTextDto.json")
String incomingSMSTextJsonString;

@GivenTextResource("/domains/sms/v1/DeliveryReportRecipientSMSDto.json")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
@TestWithResources
class InboundDtoTest extends BaseTest {

@GivenJsonResource("/domains/sms/v1/MOBinaryDto.json")
@GivenJsonResource("/domains/sms/v1/inbounds/MOBinaryDto.json")
InboundDto loadedBinaryMessage;

@GivenJsonResource("/domains/sms/v1/MOTextDto.json")
@GivenJsonResource("/domains/sms/v1/inbounds/MOTextDto.json")
InboundDto loadedTextMessage;

MOBinaryDto binaryDTO =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
@TestWithResources
public class MOBinaryDtoTest extends BaseTest {

@GivenJsonResource("/domains/sms/v1/MOBinaryDto.json")
@GivenJsonResource("/domains/sms/v1/inbounds/MOBinaryDto.json")
MOBinaryDto loadedDto;

@GivenTextResource("/domains/sms/v1/MOBinaryDto.json")
@GivenTextResource("/domains/sms/v1/inbounds/MOBinaryDto.json")
String jsonStringDto;

public static MOBinaryDto dto =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
@TestWithResources
public class MOTextDtoTest extends BaseTest {

@GivenJsonResource("/domains/sms/v1/MOTextDto.json")
@GivenJsonResource("/domains/sms/v1/inbounds/MOTextDto.json")
MOTextDto loadedDto;

@GivenTextResource("/domains/sms/v1/MOTextDto.json")
@GivenTextResource("/domains/sms/v1/inbounds/MOTextDto.json")
String jsonStringDto;

public static MOTextDto dto =
Expand Down

0 comments on commit 5df68e3

Please sign in to comment.