Fix broken test
This commit is contained in:
parent
0e684736bd
commit
8e7b2a04fd
@ -17,6 +17,8 @@ namespace Aviat\AnimeClient\Tests;
|
|||||||
use Aviat\AnimeClient\RoutingBase;
|
use Aviat\AnimeClient\RoutingBase;
|
||||||
use JetBrains\PhpStorm\ArrayShape;
|
use JetBrains\PhpStorm\ArrayShape;
|
||||||
|
|
||||||
|
class ConcreteRoutingBase extends RoutingBase {}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
@ -50,7 +52,7 @@ final class RoutingBaseTest extends AnimeClientTestCase
|
|||||||
],
|
],
|
||||||
]);
|
]);
|
||||||
|
|
||||||
$routingBase = new RoutingBase($this->container);
|
$routingBase = new ConcreteRoutingBase($this->container);
|
||||||
|
|
||||||
$this->assertSame($path, $routingBase->path(), 'Path is invalid');
|
$this->assertSame($path, $routingBase->path(), 'Path is invalid');
|
||||||
$this->assertSame($segments, $routingBase->segments(), 'Segments array is invalid');
|
$this->assertSame($segments, $routingBase->segments(), 'Segments array is invalid');
|
||||||
|
Loading…
Reference in New Issue
Block a user