You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
551 B
PHTML
24 lines
551 B
PHTML
5 years ago
|
<?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'));
|
||
|
}
|
||
|
}
|