Skip to content

Commit

Permalink
Merge pull request #242 from keboola/jirka-ct-352-test-scenario
Browse files Browse the repository at this point in the history
CT-352 test missing ID wont be a problem anymore
  • Loading branch information
jirkasemmler authored Apr 18, 2024
2 parents f5d8874 + 9dfbd76 commit 32585f9
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 32585f9

Please sign in to comment.