diff options
| author | Igor Scheller <igor.scheller@igorshp.de> | 2018-08-26 12:23:47 +0200 |
|---|---|---|
| committer | Igor Scheller <igor.scheller@igorshp.de> | 2018-08-29 23:46:31 +0200 |
| commit | df6360044b5c2396b2bee0dfa9e8d744bfa424d5 (patch) | |
| tree | 177b81f1feca7b1b77b4cd20d006bc1820baba12 /tests/Unit/Http/UrlGeneratorServiceProviderTest.php | |
| parent | bb3d16d273bb3e4552e4869dd22cb2c2d81f5387 (diff) | |
Added Twig template functions
Diffstat (limited to 'tests/Unit/Http/UrlGeneratorServiceProviderTest.php')
| -rw-r--r-- | tests/Unit/Http/UrlGeneratorServiceProviderTest.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/Unit/Http/UrlGeneratorServiceProviderTest.php b/tests/Unit/Http/UrlGeneratorServiceProviderTest.php index f3d5e018..787789fe 100644 --- a/tests/Unit/Http/UrlGeneratorServiceProviderTest.php +++ b/tests/Unit/Http/UrlGeneratorServiceProviderTest.php @@ -21,7 +21,12 @@ class UrlGeneratorServiceProviderTest extends ServiceProviderTest $app = $this->getApp(); $this->setExpects($app, 'make', [UrlGenerator::class], $urlGenerator); - $this->setExpects($app, 'instance', ['http.urlGenerator', $urlGenerator]); + $app->expects($this->exactly(2)) + ->method('instance') + ->withConsecutive( + [UrlGenerator::class, $urlGenerator], + ['http.urlGenerator', $urlGenerator] + ); $serviceProvider = new UrlGeneratorServiceProvider($app); $serviceProvider->register(); |
