diff --git a/src/data/cache/.gitkeep b/src/data/cache/.gitkeep
deleted file mode 100644
index e69de29bb..000000000
diff --git a/src/modules/Servicelicense/templates/admin/mod_servicelicense_manage.html.twig b/src/modules/Servicelicense/templates/admin/mod_servicelicense_manage.html.twig
index bc76d4264..a6756811b 100644
--- a/src/modules/Servicelicense/templates/admin/mod_servicelicense_manage.html.twig
+++ b/src/modules/Servicelicense/templates/admin/mod_servicelicense_manage.html.twig
@@ -57,61 +57,61 @@
diff --git a/tests-legacy/modules/Servicedomain/ServiceTest.php b/tests-legacy/modules/Servicedomain/ServiceTest.php
index 3a7da4061..13942f7a8 100644
--- a/tests-legacy/modules/Servicedomain/ServiceTest.php
+++ b/tests-legacy/modules/Servicedomain/ServiceTest.php
@@ -84,8 +84,7 @@ final class ServiceTest extends \BBTestCase
$this->service->setDi($di);
$this->expectException(\FOSSBilling\Exception::class);
- $result = $this->service->validateOrderData($data);
- $this->assertNull($result);
+ $this->service->validateOrderData($data);
}
public static function validateOrderDateTransferExceptionsProvider(): array
@@ -157,8 +156,7 @@ final class ServiceTest extends \BBTestCase
$serviceMock->setDi($di);
$this->expectException(\FOSSBilling\Exception::class);
- $result = $serviceMock->validateOrderData($data);
- $this->assertNull($result);
+ $serviceMock->validateOrderData($data);
}
public static function validateOrderDateRegisterExceptionsProvider(): array
@@ -536,9 +534,7 @@ final class ServiceTest extends \BBTestCase
$order->client_id = 1;
$this->expectException(\FOSSBilling\Exception::class);
- $result = $this->service->action_renew($order);
-
- $this->assertTrue($result);
+ $this->service->action_renew($order);
}
public function testActionSuspend(): void
@@ -612,9 +608,7 @@ final class ServiceTest extends \BBTestCase
$order->client_id = 1;
$this->expectException(\FOSSBilling\Exception::class);
- $result = $this->service->action_cancel($order);
-
- $this->assertTrue($result);
+ $this->service->action_cancel($order);
}
public function testActionUncancel(): void
@@ -1242,7 +1236,7 @@ final class ServiceTest extends \BBTestCase
$di = $this->getDi();
$di['mod_service'] = $di->protect(fn ($name): \PHPUnit\Framework\MockObject\MockObject => $systemServiceMock);
$di['db'] = $dbMock;
- $di['logger'] = $di['logger'] = $this->createMock('Box_Log');
+ $di['logger'] = $this->createMock('Box_Log');
$serviceMock->setDi($di);
$result = $serviceMock->batchSyncExpirationDates();
diff --git a/tests-legacy/modules/Servicehosting/ServiceTest.php b/tests-legacy/modules/Servicehosting/ServiceTest.php
index cd1f1eaff..bfbe6caff 100644
--- a/tests-legacy/modules/Servicehosting/ServiceTest.php
+++ b/tests-legacy/modules/Servicehosting/ServiceTest.php
@@ -17,7 +17,7 @@ final class ServiceTest extends \BBTestCase
$this->service = new Service();
}
- public static function validateOrdertDataProvider(): array
+ public static function validateOrderDataProvider(): array
{
return [
['server_id', 'Hosting product is not configured completely. Configure server for hosting product.', 701],
@@ -27,7 +27,7 @@ final class ServiceTest extends \BBTestCase
];
}
- #[DataProvider('validateOrdertDataProvider')]
+ #[DataProvider('validateOrderDataProvider')]
public function testValidateOrderData(string $field, string $exceptionMessage, int $excCode): void
{
$data = [
@@ -1145,7 +1145,7 @@ final class ServiceTest extends \BBTestCase
public function testGetHpSearchQuery(): void
{
- $result = $this->service->getServersSearchQuery([]);
+ $result = $this->service->getHpSearchQuery([]);
$this->assertIsString($result[0]);
$this->assertIsArray($result[1]);
$this->assertSame([], $result[1]);