diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 4808d97..473ec8b 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "5.1.0" + ".": "5.1.1" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index 17749e2..f689757 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 81 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/courier%2Fcourier-3fc1c86b4a83a16393aaf17d1fb3ac6098d30dd057ba872973b57285a7a3f0d0.yml -openapi_spec_hash: 02a545d217b13399f311e99561f9de1d -config_hash: 0789c3cddc625bb9712b3bded274ab6c +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/courier%2Fcourier-b3852cdd1020811766572923d26a6c95f4a538bf4c7268462b6ba39f34480b3e.yml +openapi_spec_hash: b2e2f2357342e9a6b16a591d0b946e38 +config_hash: 6f072c60adb74a68d27be5a0e5ea3124 diff --git a/CHANGELOG.md b/CHANGELOG.md index 2f2eb14..32b62e5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,26 @@ # Changelog +## 5.1.1 (2026-02-20) + +Full Changelog: [v5.1.0...v5.1.1](https://github.com/trycourier/courier-php/compare/v5.1.0...v5.1.1) + +### Bug Fixes + +* **api:** remove brand field from ElementalContent ([e7b32eb](https://github.com/trycourier/courier-php/commit/e7b32ebc7928583bcc92a33d83056b31d465652e)) + + +### Chores + +* **internal:** remove mock server code ([0e4932e](https://github.com/trycourier/courier-php/commit/0e4932ea8282a21d9fe88f582aee42088b7cec6f)) +* update mock server docs ([6541bd1](https://github.com/trycourier/courier-php/commit/6541bd14ef424dec7fb51f9d0acc5ab70b64618d)) + + +### Documentation + +* add AUTO-GENERATED-OVERVIEW markers for README sync ([97bfbe3](https://github.com/trycourier/courier-php/commit/97bfbe3ce0efbcf14d6f0c54b1cfbd809a5f6eab)) +* sync README from mintlify-docs (2026-02-20 18:11 UTC) ([9e9e06f](https://github.com/trycourier/courier-php/commit/9e9e06fdb360f1a42ded040073a4363754bbab5e)) +* sync README from mintlify-docs (2026-02-20 18:36 UTC) ([af795ee](https://github.com/trycourier/courier-php/commit/af795ee277e7abce3c4b764d45e31badbf98d7dc)) + ## 5.1.0 (2026-02-06) Full Changelog: [v5.0.2...v5.1.0](https://github.com/trycourier/courier-php/compare/v5.0.2...v5.1.0) diff --git a/scripts/mock b/scripts/mock deleted file mode 100755 index 0b28f6e..0000000 --- a/scripts/mock +++ /dev/null @@ -1,41 +0,0 @@ -#!/usr/bin/env bash - -set -e - -cd "$(dirname "$0")/.." - -if [[ -n "$1" && "$1" != '--'* ]]; then - URL="$1" - shift -else - URL="$(grep 'openapi_spec_url' .stats.yml | cut -d' ' -f2)" -fi - -# Check if the URL is empty -if [ -z "$URL" ]; then - echo "Error: No OpenAPI spec path/url provided or found in .stats.yml" - exit 1 -fi - -echo "==> Starting mock server with URL ${URL}" - -# Run prism mock on the given spec -if [ "$1" == "--daemon" ]; then - npm exec --package=@stainless-api/prism-cli@5.15.0 -- prism mock "$URL" &> .prism.log & - - # Wait for server to come online - echo -n "Waiting for server" - while ! grep -q "✖ fatal\|Prism is listening" ".prism.log" ; do - echo -n "." - sleep 0.1 - done - - if grep -q "✖ fatal" ".prism.log"; then - cat .prism.log - exit 1 - fi - - echo -else - npm exec --package=@stainless-api/prism-cli@5.15.0 -- prism mock "$URL" -fi diff --git a/scripts/test b/scripts/test index 4b777e0..63df137 100755 --- a/scripts/test +++ b/scripts/test @@ -4,52 +4,6 @@ set -e cd "$(dirname "$0")/.." -RED='\033[0;31m' -GREEN='\033[0;32m' -YELLOW='\033[0;33m' -NC='\033[0m' # No Color -function prism_is_running() { - curl --silent "http://localhost:4010" >/dev/null 2>&1 -} - -kill_server_on_port() { - pids=$(lsof -t -i tcp:"$1" || echo "") - if [ "$pids" != "" ]; then - kill "$pids" - echo "Stopped $pids." - fi -} - -function is_overriding_api_base_url() { - [ -n "$TEST_API_BASE_URL" ] -} - -if ! is_overriding_api_base_url && ! prism_is_running ; then - # When we exit this script, make sure to kill the background mock server process - trap 'kill_server_on_port 4010' EXIT - - # Start the dev server - ./scripts/mock --daemon -fi - -if is_overriding_api_base_url ; then - echo -e "${GREEN}✔ Running tests against ${TEST_API_BASE_URL}${NC}" - echo -elif ! prism_is_running ; then - echo -e "${RED}ERROR:${NC} The test suite will not run without a mock Prism server" - echo -e "running against your OpenAPI spec." - echo - echo -e "To run the server, pass in the path or url of your OpenAPI" - echo -e "spec to the prism command:" - echo - echo -e " \$ ${YELLOW}npm exec --package=@stainless-api/prism-cli@5.15.0 -- prism mock path/to/your.openapi.yml${NC}" - echo - - exit 1 -else - echo -e "${GREEN}✔ Mock prism server is running with your OpenAPI spec${NC}" - echo -fi exec -- ./vendor/bin/pest --colors=always diff --git a/src/ElementalContent.php b/src/ElementalContent.php index 9e1ff58..ff3d48f 100644 --- a/src/ElementalContent.php +++ b/src/ElementalContent.php @@ -4,7 +4,6 @@ namespace Courier; -use Courier\Core\Attributes\Optional; use Courier\Core\Attributes\Required; use Courier\Core\Concerns\SdkModel; use Courier\Core\Contracts\BaseModel; @@ -14,7 +13,7 @@ * @phpstan-import-type ElementalNodeShape from \Courier\ElementalNode * * @phpstan-type ElementalContentShape = array{ - * elements: list, version: string, brand?: string|null + * elements: list, version: string * } */ final class ElementalContent implements BaseModel @@ -32,9 +31,6 @@ final class ElementalContent implements BaseModel #[Required] public string $version; - #[Optional(nullable: true)] - public ?string $brand; - /** * `new ElementalContent()` is missing required properties by the API. * @@ -61,18 +57,13 @@ public function __construct() * * @param list $elements */ - public static function with( - array $elements, - string $version, - ?string $brand = null - ): self { + public static function with(array $elements, string $version): self + { $self = new self; $self['elements'] = $elements; $self['version'] = $version; - null !== $brand && $self['brand'] = $brand; - return $self; } @@ -97,12 +88,4 @@ public function withVersion(string $version): self return $self; } - - public function withBrand(?string $brand): self - { - $self = clone $this; - $self['brand'] = $brand; - - return $self; - } } diff --git a/src/Version.php b/src/Version.php index 2fbdd2e..4c1d7a2 100644 --- a/src/Version.php +++ b/src/Version.php @@ -5,5 +5,5 @@ namespace Courier; // x-release-please-start-version -const VERSION = '5.1.0'; +const VERSION = '5.1.1'; // x-release-please-end diff --git a/tests/Services/AudiencesTest.php b/tests/Services/AudiencesTest.php index d7c97da..f7bf191 100644 --- a/tests/Services/AudiencesTest.php +++ b/tests/Services/AudiencesTest.php @@ -35,7 +35,7 @@ protected function setUp(): void public function testRetrieve(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->audiences->retrieve('audience_id'); @@ -48,7 +48,7 @@ public function testRetrieve(): void public function testUpdate(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->audiences->update('audience_id'); @@ -61,7 +61,7 @@ public function testUpdate(): void public function testList(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->audiences->list(); @@ -74,7 +74,7 @@ public function testList(): void public function testDelete(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->audiences->delete('audience_id'); @@ -87,7 +87,7 @@ public function testDelete(): void public function testListMembers(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->audiences->listMembers('audience_id'); diff --git a/tests/Services/AuditEventsTest.php b/tests/Services/AuditEventsTest.php index 00c8e33..e5e887a 100644 --- a/tests/Services/AuditEventsTest.php +++ b/tests/Services/AuditEventsTest.php @@ -33,7 +33,7 @@ protected function setUp(): void public function testRetrieve(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->auditEvents->retrieve('audit-event-id'); @@ -46,7 +46,7 @@ public function testRetrieve(): void public function testList(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->auditEvents->list(); diff --git a/tests/Services/AuthTest.php b/tests/Services/AuthTest.php index 4ed22e9..046a343 100644 --- a/tests/Services/AuthTest.php +++ b/tests/Services/AuthTest.php @@ -32,7 +32,7 @@ protected function setUp(): void public function testIssueToken(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->auth->issueToken( @@ -48,7 +48,7 @@ public function testIssueToken(): void public function testIssueTokenWithOptionalParams(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->auth->issueToken( diff --git a/tests/Services/Automations/InvokeTest.php b/tests/Services/Automations/InvokeTest.php index b14dad9..fd796ae 100644 --- a/tests/Services/Automations/InvokeTest.php +++ b/tests/Services/Automations/InvokeTest.php @@ -32,7 +32,7 @@ protected function setUp(): void public function testInvokeAdHoc(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->automations->invoke->invokeAdHoc( @@ -47,7 +47,7 @@ public function testInvokeAdHoc(): void public function testInvokeAdHocWithOptionalParams(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->automations->invoke->invokeAdHoc( @@ -84,7 +84,7 @@ public function testInvokeAdHocWithOptionalParams(): void public function testInvokeByTemplate(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->automations->invoke->invokeByTemplate( @@ -100,7 +100,7 @@ public function testInvokeByTemplate(): void public function testInvokeByTemplateWithOptionalParams(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->automations->invoke->invokeByTemplate( diff --git a/tests/Services/AutomationsTest.php b/tests/Services/AutomationsTest.php index b05aee5..66c58dd 100644 --- a/tests/Services/AutomationsTest.php +++ b/tests/Services/AutomationsTest.php @@ -32,7 +32,7 @@ protected function setUp(): void public function testList(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->automations->list(); diff --git a/tests/Services/BrandsTest.php b/tests/Services/BrandsTest.php index 2da640f..7e449f8 100644 --- a/tests/Services/BrandsTest.php +++ b/tests/Services/BrandsTest.php @@ -33,7 +33,7 @@ protected function setUp(): void public function testCreate(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->brands->create(name: 'name'); @@ -46,7 +46,7 @@ public function testCreate(): void public function testCreateWithOptionalParams(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->brands->create( @@ -106,7 +106,7 @@ public function testCreateWithOptionalParams(): void public function testRetrieve(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->brands->retrieve('brand_id'); @@ -119,7 +119,7 @@ public function testRetrieve(): void public function testUpdate(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->brands->update('brand_id', name: 'name'); @@ -132,7 +132,7 @@ public function testUpdate(): void public function testUpdateWithOptionalParams(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->brands->update( @@ -192,7 +192,7 @@ public function testUpdateWithOptionalParams(): void public function testList(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->brands->list(); @@ -205,7 +205,7 @@ public function testList(): void public function testDelete(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->brands->delete('brand_id'); diff --git a/tests/Services/BulkTest.php b/tests/Services/BulkTest.php index 1ff1a05..8a8fcbc 100644 --- a/tests/Services/BulkTest.php +++ b/tests/Services/BulkTest.php @@ -36,7 +36,7 @@ protected function setUp(): void public function testAddUsers(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->bulk->addUsers('job_id', users: [[]]); @@ -49,7 +49,7 @@ public function testAddUsers(): void public function testAddUsersWithOptionalParams(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->bulk->addUsers( @@ -125,7 +125,7 @@ public function testAddUsersWithOptionalParams(): void public function testCreateJob(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->bulk->createJob(message: ['event' => 'event']); @@ -138,7 +138,7 @@ public function testCreateJob(): void public function testCreateJobWithOptionalParams(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->bulk->createJob( @@ -161,7 +161,7 @@ public function testCreateJobWithOptionalParams(): void public function testListUsers(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->bulk->listUsers('job_id'); @@ -174,7 +174,7 @@ public function testListUsers(): void public function testRetrieveJob(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->bulk->retrieveJob('job_id'); @@ -187,7 +187,7 @@ public function testRetrieveJob(): void public function testRunJob(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->bulk->runJob('job_id'); diff --git a/tests/Services/InboundTest.php b/tests/Services/InboundTest.php index 542a83b..f08d748 100644 --- a/tests/Services/InboundTest.php +++ b/tests/Services/InboundTest.php @@ -32,7 +32,7 @@ protected function setUp(): void public function testTrackEvent(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->inbound->trackEvent( @@ -52,7 +52,7 @@ public function testTrackEvent(): void public function testTrackEventWithOptionalParams(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->inbound->trackEvent( diff --git a/tests/Services/Lists/SubscriptionsTest.php b/tests/Services/Lists/SubscriptionsTest.php index 4f72e8c..c093536 100644 --- a/tests/Services/Lists/SubscriptionsTest.php +++ b/tests/Services/Lists/SubscriptionsTest.php @@ -34,7 +34,7 @@ protected function setUp(): void public function testList(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->lists->subscriptions->list('list_id'); @@ -47,7 +47,7 @@ public function testList(): void public function testAdd(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->lists->subscriptions->add( @@ -63,7 +63,7 @@ public function testAdd(): void public function testAddWithOptionalParams(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->lists->subscriptions->add( @@ -103,7 +103,7 @@ public function testAddWithOptionalParams(): void public function testSubscribe(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->lists->subscriptions->subscribe( @@ -119,7 +119,7 @@ public function testSubscribe(): void public function testSubscribeWithOptionalParams(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->lists->subscriptions->subscribe( @@ -159,7 +159,7 @@ public function testSubscribeWithOptionalParams(): void public function testSubscribeUser(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->lists->subscriptions->subscribeUser( @@ -175,7 +175,7 @@ public function testSubscribeUser(): void public function testSubscribeUserWithOptionalParams(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->lists->subscriptions->subscribeUser( @@ -211,7 +211,7 @@ public function testSubscribeUserWithOptionalParams(): void public function testUnsubscribeUser(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->lists->subscriptions->unsubscribeUser( @@ -227,7 +227,7 @@ public function testUnsubscribeUser(): void public function testUnsubscribeUserWithOptionalParams(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->lists->subscriptions->unsubscribeUser( diff --git a/tests/Services/ListsTest.php b/tests/Services/ListsTest.php index 7924ba6..8572c3d 100644 --- a/tests/Services/ListsTest.php +++ b/tests/Services/ListsTest.php @@ -35,7 +35,7 @@ protected function setUp(): void public function testRetrieve(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->lists->retrieve('list_id'); @@ -48,7 +48,7 @@ public function testRetrieve(): void public function testUpdate(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->lists->update('list_id', name: 'name'); @@ -61,7 +61,7 @@ public function testUpdate(): void public function testUpdateWithOptionalParams(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->lists->update( @@ -97,7 +97,7 @@ public function testUpdateWithOptionalParams(): void public function testList(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->lists->list(); @@ -110,7 +110,7 @@ public function testList(): void public function testDelete(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->lists->delete('list_id'); @@ -123,7 +123,7 @@ public function testDelete(): void public function testRestore(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->lists->restore('list_id'); diff --git a/tests/Services/MessagesTest.php b/tests/Services/MessagesTest.php index 92e06ce..493b718 100644 --- a/tests/Services/MessagesTest.php +++ b/tests/Services/MessagesTest.php @@ -36,7 +36,7 @@ protected function setUp(): void public function testRetrieve(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->messages->retrieve('message_id'); @@ -49,7 +49,7 @@ public function testRetrieve(): void public function testList(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->messages->list(); @@ -62,7 +62,7 @@ public function testList(): void public function testCancel(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->messages->cancel('message_id'); @@ -75,7 +75,7 @@ public function testCancel(): void public function testContent(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->messages->content('message_id'); @@ -88,7 +88,7 @@ public function testContent(): void public function testHistory(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->messages->history('message_id'); diff --git a/tests/Services/Notifications/ChecksTest.php b/tests/Services/Notifications/ChecksTest.php index 03af05f..5388e25 100644 --- a/tests/Services/Notifications/ChecksTest.php +++ b/tests/Services/Notifications/ChecksTest.php @@ -33,7 +33,7 @@ protected function setUp(): void public function testUpdate(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->notifications->checks->update( @@ -50,7 +50,7 @@ public function testUpdate(): void public function testUpdateWithOptionalParams(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->notifications->checks->update( @@ -67,7 +67,7 @@ public function testUpdateWithOptionalParams(): void public function testList(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->notifications->checks->list( @@ -83,7 +83,7 @@ public function testList(): void public function testListWithOptionalParams(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->notifications->checks->list( @@ -99,7 +99,7 @@ public function testListWithOptionalParams(): void public function testDelete(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->notifications->checks->delete( @@ -115,7 +115,7 @@ public function testDelete(): void public function testDeleteWithOptionalParams(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->notifications->checks->delete( diff --git a/tests/Services/Notifications/DraftTest.php b/tests/Services/Notifications/DraftTest.php index 0f8b55a..3dc2434 100644 --- a/tests/Services/Notifications/DraftTest.php +++ b/tests/Services/Notifications/DraftTest.php @@ -32,7 +32,7 @@ protected function setUp(): void public function testRetrieveContent(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->notifications->draft->retrieveContent('id'); diff --git a/tests/Services/NotificationsTest.php b/tests/Services/NotificationsTest.php index b989d7a..89aed7f 100644 --- a/tests/Services/NotificationsTest.php +++ b/tests/Services/NotificationsTest.php @@ -33,7 +33,7 @@ protected function setUp(): void public function testList(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->notifications->list(); @@ -46,7 +46,7 @@ public function testList(): void public function testRetrieveContent(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->notifications->retrieveContent('id'); diff --git a/tests/Services/Profiles/ListsTest.php b/tests/Services/Profiles/ListsTest.php index 0c8d7c7..f44e612 100644 --- a/tests/Services/Profiles/ListsTest.php +++ b/tests/Services/Profiles/ListsTest.php @@ -36,7 +36,7 @@ protected function setUp(): void public function testRetrieve(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->profiles->lists->retrieve('user_id'); @@ -49,7 +49,7 @@ public function testRetrieve(): void public function testDelete(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->profiles->lists->delete('user_id'); @@ -62,7 +62,7 @@ public function testDelete(): void public function testSubscribe(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->profiles->lists->subscribe( @@ -78,7 +78,7 @@ public function testSubscribe(): void public function testSubscribeWithOptionalParams(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->profiles->lists->subscribe( diff --git a/tests/Services/ProfilesTest.php b/tests/Services/ProfilesTest.php index c9ad383..f341f4f 100644 --- a/tests/Services/ProfilesTest.php +++ b/tests/Services/ProfilesTest.php @@ -34,7 +34,7 @@ protected function setUp(): void public function testCreate(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->profiles->create( @@ -50,7 +50,7 @@ public function testCreate(): void public function testCreateWithOptionalParams(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->profiles->create( @@ -66,7 +66,7 @@ public function testCreateWithOptionalParams(): void public function testRetrieve(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->profiles->retrieve('user_id'); @@ -79,7 +79,7 @@ public function testRetrieve(): void public function testUpdate(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->profiles->update( @@ -95,7 +95,7 @@ public function testUpdate(): void public function testUpdateWithOptionalParams(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->profiles->update( @@ -111,7 +111,7 @@ public function testUpdateWithOptionalParams(): void public function testDelete(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->profiles->delete('user_id'); @@ -124,7 +124,7 @@ public function testDelete(): void public function testReplace(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->profiles->replace( @@ -140,7 +140,7 @@ public function testReplace(): void public function testReplaceWithOptionalParams(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->profiles->replace( diff --git a/tests/Services/RequestsTest.php b/tests/Services/RequestsTest.php index 885736e..b87910a 100644 --- a/tests/Services/RequestsTest.php +++ b/tests/Services/RequestsTest.php @@ -31,7 +31,7 @@ protected function setUp(): void public function testArchive(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->requests->archive('request_id'); diff --git a/tests/Services/SendTest.php b/tests/Services/SendTest.php index fed18ce..7c97491 100644 --- a/tests/Services/SendTest.php +++ b/tests/Services/SendTest.php @@ -34,7 +34,7 @@ protected function setUp(): void public function testMessage(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->send->message(message: []); @@ -47,7 +47,7 @@ public function testMessage(): void public function testMessageWithOptionalParams(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->send->message( diff --git a/tests/Services/Tenants/Preferences/ItemsTest.php b/tests/Services/Tenants/Preferences/ItemsTest.php index 8bd991a..e942b58 100644 --- a/tests/Services/Tenants/Preferences/ItemsTest.php +++ b/tests/Services/Tenants/Preferences/ItemsTest.php @@ -32,7 +32,7 @@ protected function setUp(): void public function testUpdate(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->tenants->preferences->items->update( @@ -49,7 +49,7 @@ public function testUpdate(): void public function testUpdateWithOptionalParams(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->tenants->preferences->items->update( @@ -68,7 +68,7 @@ public function testUpdateWithOptionalParams(): void public function testDelete(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->tenants->preferences->items->delete( @@ -84,7 +84,7 @@ public function testDelete(): void public function testDeleteWithOptionalParams(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->tenants->preferences->items->delete( diff --git a/tests/Services/Tenants/Templates/VersionsTest.php b/tests/Services/Tenants/Templates/VersionsTest.php index 245dfe8..1d3ff1b 100644 --- a/tests/Services/Tenants/Templates/VersionsTest.php +++ b/tests/Services/Tenants/Templates/VersionsTest.php @@ -32,7 +32,7 @@ protected function setUp(): void public function testRetrieve(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->tenants->templates->versions->retrieve( @@ -49,7 +49,7 @@ public function testRetrieve(): void public function testRetrieveWithOptionalParams(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->tenants->templates->versions->retrieve( diff --git a/tests/Services/Tenants/TemplatesTest.php b/tests/Services/Tenants/TemplatesTest.php index c37f98a..4133d3f 100644 --- a/tests/Services/Tenants/TemplatesTest.php +++ b/tests/Services/Tenants/TemplatesTest.php @@ -35,7 +35,7 @@ protected function setUp(): void public function testRetrieve(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->tenants->templates->retrieve( @@ -51,7 +51,7 @@ public function testRetrieve(): void public function testRetrieveWithOptionalParams(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->tenants->templates->retrieve( @@ -67,7 +67,7 @@ public function testRetrieveWithOptionalParams(): void public function testList(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->tenants->templates->list('tenant_id'); @@ -80,7 +80,7 @@ public function testList(): void public function testPublish(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->tenants->templates->publish( @@ -96,7 +96,7 @@ public function testPublish(): void public function testPublishWithOptionalParams(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->tenants->templates->publish( @@ -113,7 +113,7 @@ public function testPublishWithOptionalParams(): void public function testReplace(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->tenants->templates->replace( @@ -130,7 +130,7 @@ public function testReplace(): void public function testReplaceWithOptionalParams(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->tenants->templates->replace( @@ -148,7 +148,6 @@ public function testReplaceWithOptionalParams(): void ], ], 'version' => 'version', - 'brand' => 'brand', ], 'channels' => [ 'foo' => [ diff --git a/tests/Services/TenantsTest.php b/tests/Services/TenantsTest.php index b163bb8..0dd5b29 100644 --- a/tests/Services/TenantsTest.php +++ b/tests/Services/TenantsTest.php @@ -35,7 +35,7 @@ protected function setUp(): void public function testRetrieve(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->tenants->retrieve('tenant_id'); @@ -48,7 +48,7 @@ public function testRetrieve(): void public function testUpdate(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->tenants->update('tenant_id', name: 'name'); @@ -61,7 +61,7 @@ public function testUpdate(): void public function testUpdateWithOptionalParams(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->tenants->update( @@ -91,7 +91,7 @@ public function testUpdateWithOptionalParams(): void public function testList(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->tenants->list(); @@ -104,7 +104,7 @@ public function testList(): void public function testDelete(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->tenants->delete('tenant_id'); @@ -117,7 +117,7 @@ public function testDelete(): void public function testListUsers(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->tenants->listUsers('tenant_id'); diff --git a/tests/Services/TranslationsTest.php b/tests/Services/TranslationsTest.php index 3b803aa..7697c24 100644 --- a/tests/Services/TranslationsTest.php +++ b/tests/Services/TranslationsTest.php @@ -31,7 +31,7 @@ protected function setUp(): void public function testRetrieve(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->translations->retrieve('locale', domain: 'domain'); @@ -44,7 +44,7 @@ public function testRetrieve(): void public function testRetrieveWithOptionalParams(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->translations->retrieve('locale', domain: 'domain'); @@ -57,7 +57,7 @@ public function testRetrieveWithOptionalParams(): void public function testUpdate(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->translations->update( @@ -74,7 +74,7 @@ public function testUpdate(): void public function testUpdateWithOptionalParams(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->translations->update( diff --git a/tests/Services/Users/PreferencesTest.php b/tests/Services/Users/PreferencesTest.php index a1c6b9d..080dd69 100644 --- a/tests/Services/Users/PreferencesTest.php +++ b/tests/Services/Users/PreferencesTest.php @@ -36,7 +36,7 @@ protected function setUp(): void public function testRetrieve(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->users->preferences->retrieve('user_id'); @@ -49,7 +49,7 @@ public function testRetrieve(): void public function testRetrieveTopic(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->users->preferences->retrieveTopic( @@ -65,7 +65,7 @@ public function testRetrieveTopic(): void public function testRetrieveTopicWithOptionalParams(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->users->preferences->retrieveTopic( @@ -82,7 +82,7 @@ public function testRetrieveTopicWithOptionalParams(): void public function testUpdateOrCreateTopic(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->users->preferences->updateOrCreateTopic( @@ -99,7 +99,7 @@ public function testUpdateOrCreateTopic(): void public function testUpdateOrCreateTopicWithOptionalParams(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->users->preferences->updateOrCreateTopic( diff --git a/tests/Services/Users/TenantsTest.php b/tests/Services/Users/TenantsTest.php index 1c3fdd4..ae35ed6 100644 --- a/tests/Services/Users/TenantsTest.php +++ b/tests/Services/Users/TenantsTest.php @@ -32,7 +32,7 @@ protected function setUp(): void public function testList(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->users->tenants->list('user_id'); @@ -45,7 +45,7 @@ public function testList(): void public function testAddMultiple(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->users->tenants->addMultiple( @@ -61,7 +61,7 @@ public function testAddMultiple(): void public function testAddMultipleWithOptionalParams(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->users->tenants->addMultiple( @@ -84,7 +84,7 @@ public function testAddMultipleWithOptionalParams(): void public function testAddSingle(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->users->tenants->addSingle( @@ -100,7 +100,7 @@ public function testAddSingle(): void public function testAddSingleWithOptionalParams(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->users->tenants->addSingle( @@ -117,7 +117,7 @@ public function testAddSingleWithOptionalParams(): void public function testRemoveAll(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->users->tenants->removeAll('user_id'); @@ -130,7 +130,7 @@ public function testRemoveAll(): void public function testRemoveSingle(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->users->tenants->removeSingle( @@ -146,7 +146,7 @@ public function testRemoveSingle(): void public function testRemoveSingleWithOptionalParams(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->users->tenants->removeSingle( diff --git a/tests/Services/Users/TokensTest.php b/tests/Services/Users/TokensTest.php index 5db51b6..556dd86 100644 --- a/tests/Services/Users/TokensTest.php +++ b/tests/Services/Users/TokensTest.php @@ -33,7 +33,7 @@ protected function setUp(): void public function testRetrieve(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->users->tokens->retrieve( @@ -49,7 +49,7 @@ public function testRetrieve(): void public function testRetrieveWithOptionalParams(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->users->tokens->retrieve( @@ -65,7 +65,7 @@ public function testRetrieveWithOptionalParams(): void public function testUpdate(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->users->tokens->update( @@ -82,7 +82,7 @@ public function testUpdate(): void public function testUpdateWithOptionalParams(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->users->tokens->update( @@ -99,7 +99,7 @@ public function testUpdateWithOptionalParams(): void public function testList(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->users->tokens->list('user_id'); @@ -112,7 +112,7 @@ public function testList(): void public function testDelete(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->users->tokens->delete('token', userID: 'user_id'); @@ -125,7 +125,7 @@ public function testDelete(): void public function testDeleteWithOptionalParams(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->users->tokens->delete('token', userID: 'user_id'); @@ -138,7 +138,7 @@ public function testDeleteWithOptionalParams(): void public function testAddMultiple(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->users->tokens->addMultiple('user_id'); @@ -151,7 +151,7 @@ public function testAddMultiple(): void public function testAddSingle(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->users->tokens->addSingle( @@ -169,7 +169,7 @@ public function testAddSingle(): void public function testAddSingleWithOptionalParams(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->users->tokens->addSingle(