Skip to content

Commit

Permalink
State => published
Browse files Browse the repository at this point in the history
  • Loading branch information
wilsonge committed Aug 27, 2020
1 parent bf142b7 commit 8f0416f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Codeception/api/com_contact/ContactCest.php
Expand Up @@ -90,7 +90,7 @@ public function testCrudOnContact(ApiTester $I)
$I->haveHttpHeader('Accept', 'application/vnd.api+json');

// Category is a required field for this patch request for now TODO: Remove this dependency
$I->sendPATCH('/contact/1', ['name' => 'Frankie Blogs', 'catid' => 4, 'state' => -2]);
$I->sendPATCH('/contact/1', ['name' => 'Frankie Blogs', 'catid' => 4, 'published' => -2]);
$I->seeResponseCodeIs(HttpCode::OK);

$I->amBearerAuthenticated('c2hhMjU2OjM6ZTJmMjJlYTNlNTU0NmM1MDJhYTIzYzMwN2MxYzAwZTQ5NzJhMWRmOTUyNjY5MTk2YjE5ODJmZWMwZTcxNzgwMQ==');
Expand Down

0 comments on commit 8f0416f

Please sign in to comment.