Improve test coverage

This commit is contained in:
Joshua Ramon Enslin 2024-10-10 14:32:55 +02:00
parent 669a8a1459
commit 16f36c0852
Signed by: jrenslin
GPG Key ID: 46016F84501B70AE

View File

@ -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);
}