summaryrefslogtreecommitdiff
path: root/tests/Unit/Http/RedirectServiceProviderTest.php
diff options
context:
space:
mode:
authormsquare <msquare@notrademark.de>2019-12-08 11:48:58 +0100
committerGitHub <noreply@github.com>2019-12-08 11:48:58 +0100
commita3a938a1210f1bfb2680c25b2bcf53e47444bdba (patch)
treefd4c13fd9b714c0d8c60b6d3fe3e2fc88b82b717 /tests/Unit/Http/RedirectServiceProviderTest.php
parentb540ac93856065ce6e145930b6611e0a0946d646 (diff)
parent064a1750279be244f86cf24f29749b391b11f1dd (diff)
Merge pull request #685 from MyIgel/schedule-import
Rebuild Schedule import
Diffstat (limited to 'tests/Unit/Http/RedirectServiceProviderTest.php')
-rw-r--r--tests/Unit/Http/RedirectServiceProviderTest.php23
1 files changed, 23 insertions, 0 deletions
diff --git a/tests/Unit/Http/RedirectServiceProviderTest.php b/tests/Unit/Http/RedirectServiceProviderTest.php
new file mode 100644
index 00000000..9c2a07fc
--- /dev/null
+++ b/tests/Unit/Http/RedirectServiceProviderTest.php
@@ -0,0 +1,23 @@
+<?php
+
+namespace Engelsystem\Test\Unit\Http;
+
+use Engelsystem\Application;
+use Engelsystem\Http\RedirectServiceProvider;
+use Engelsystem\Test\Unit\ServiceProviderTest;
+
+class RedirectServiceProviderTest extends ServiceProviderTest
+{
+ /**
+ * @covers \Engelsystem\Http\RedirectServiceProvider::register
+ */
+ public function testRegister()
+ {
+ $app = new Application();
+
+ $serviceProvider = new RedirectServiceProvider($app);
+ $serviceProvider->register();
+
+ $this->assertTrue($app->has('redirect'));
+ }
+}