mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-15 01:20:59 +00:00
[Shop][Channel] unify contract tests catalog
This commit is contained in:
parent
09c717c787
commit
ab323c5d08
3 changed files with 2 additions and 2 deletions
|
|
@ -26,7 +26,7 @@ final class ChannelsTest extends JsonApiTestCase
|
|||
$this->client->request(method: 'GET', uri: '/api/v2/shop/channels', server: self::CONTENT_TYPE_HEADER);
|
||||
$response = $this->client->getResponse();
|
||||
|
||||
$this->assertResponse($response, 'shop/get_channels_response', Response::HTTP_OK);
|
||||
$this->assertResponse($response, 'shop/channel/get_channels_response', Response::HTTP_OK);
|
||||
}
|
||||
|
||||
/** @test */
|
||||
|
|
@ -46,6 +46,6 @@ final class ChannelsTest extends JsonApiTestCase
|
|||
$this->client->request(method: 'GET', uri: '/api/v2/shop/channels/WEB', server: self::CONTENT_TYPE_HEADER);
|
||||
$response = $this->client->getResponse();
|
||||
|
||||
$this->assertResponse($response, 'shop/get_channel_by_code_response', Response::HTTP_OK);
|
||||
$this->assertResponse($response, 'shop/channel/get_channel_by_code_response', Response::HTTP_OK);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue