Skip to content

Commit

Permalink
CT-352 test missing ID wont be a problem anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
jirkasemmler committed Apr 18, 2024
1 parent f5d8874 commit 9dfbd76
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/FeaturesTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,13 @@ public function testRemoveNonexistentFeature()
} catch (ClientException $e) {
$this->assertEquals(404, $e->getCode());
}

try {
$this->client->removeFeature('');
$this->fail('Feature not found');
} catch (ClientException $e) {
$this->assertEquals(400, $e->getCode());
}
}

/**
Expand Down

0 comments on commit 9dfbd76

Please sign in to comment.