summaryrefslogtreecommitdiff
path: root/tests/Unit/Http/UrlGeneratorServiceProviderTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Unit/Http/UrlGeneratorServiceProviderTest.php')
-rw-r--r--tests/Unit/Http/UrlGeneratorServiceProviderTest.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/Unit/Http/UrlGeneratorServiceProviderTest.php b/tests/Unit/Http/UrlGeneratorServiceProviderTest.php
index c396c05a..61bf3e7c 100644
--- a/tests/Unit/Http/UrlGeneratorServiceProviderTest.php
+++ b/tests/Unit/Http/UrlGeneratorServiceProviderTest.php
@@ -3,6 +3,7 @@
namespace Engelsystem\Test\Unit\Http;
use Engelsystem\Http\UrlGenerator;
+use Engelsystem\Http\UrlGeneratorInterface;
use Engelsystem\Http\UrlGeneratorServiceProvider;
use Engelsystem\Test\Unit\ServiceProviderTest;
use PHPUnit\Framework\MockObject\MockObject;
@@ -25,7 +26,8 @@ class UrlGeneratorServiceProviderTest extends ServiceProviderTest
->method('instance')
->withConsecutive(
[UrlGenerator::class, $urlGenerator],
- ['http.urlGenerator', $urlGenerator]
+ ['http.urlGenerator', $urlGenerator],
+ [UrlGeneratorInterface::class, $urlGenerator]
);
$serviceProvider = new UrlGeneratorServiceProvider($app);