Improve test coverage
This commit is contained in:
parent
669a8a1459
commit
16f36c0852
|
@ -230,6 +230,7 @@ final class NodaIDGetterTest extends TestCase {
|
|||
public function testGetPlaceIdByNameWorks(string $name, int $expected_id):void {
|
||||
|
||||
$this->runRegularComparisonTests("getPlaceIDByName", $name, $expected_id);
|
||||
$this->runRegularComparisonTests("getPlaceIDByNamesAndRewrites", $name, $expected_id);
|
||||
|
||||
}
|
||||
|
||||
|
@ -266,6 +267,7 @@ final class NodaIDGetterTest extends TestCase {
|
|||
public function testGetPlaceIdByRewriteWorks(string $name, int $expected_id):void {
|
||||
|
||||
$this->runRegularComparisonTests("getPlaceIDByRewrite", $name, $expected_id);
|
||||
$this->runRegularComparisonTests("getPlaceIDByNamesAndRewrites", $name, $expected_id);
|
||||
|
||||
}
|
||||
|
||||
|
@ -307,6 +309,7 @@ final class NodaIDGetterTest extends TestCase {
|
|||
public function testGetTagIdByNameWorks(string $name, int $expected_id):void {
|
||||
|
||||
$this->runRegularComparisonTests("getTagIDByName", $name, $expected_id);
|
||||
$this->runRegularComparisonTests("getTagIDByNamesAndRewrites", $name, $expected_id);
|
||||
|
||||
}
|
||||
|
||||
|
@ -392,6 +395,7 @@ final class NodaIDGetterTest extends TestCase {
|
|||
public function testGetTimeIdByNameWorks(string $name, int $expected_id):void {
|
||||
|
||||
$this->runRegularComparisonTests("getTimeIDByName", $name, $expected_id);
|
||||
$this->runRegularComparisonTests("getTimeIDByNamesAndRewrites", $name, $expected_id);
|
||||
|
||||
}
|
||||
|
||||
|
@ -428,6 +432,7 @@ final class NodaIDGetterTest extends TestCase {
|
|||
public function testGetTimeIdByRewriteWorks(string $name, int $expected_id):void {
|
||||
|
||||
$this->runRegularComparisonTests("getTimeIDByRewrite", $name, $expected_id);
|
||||
$this->runRegularComparisonTests("getTimeIDByNamesAndRewrites", $name, $expected_id);
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user