mirror of
https://github.com/shlinkio/shlink.git
synced 2025-02-25 18:45:27 -06:00
Fixed undefined-index errors in BasePathPrefixerTest
This commit is contained in:
parent
0a1786c89a
commit
8d74e0c3ff
@ -43,12 +43,18 @@ class BasePathPrefixerTest extends TestCase
|
||||
|
||||
public function provideConfig(): iterable
|
||||
{
|
||||
yield 'without anything' => [[], [], [], ''];
|
||||
$urlShortener = [
|
||||
'domain' => [
|
||||
'hostname' => null,
|
||||
],
|
||||
];
|
||||
|
||||
yield 'without anything' => [['url_shortener' => $urlShortener], [], [], ''];
|
||||
yield 'with empty options' => [
|
||||
[
|
||||
'routes' => [],
|
||||
'middleware_pipeline' => [],
|
||||
'url_shortener' => [],
|
||||
'url_shortener' => $urlShortener,
|
||||
],
|
||||
[],
|
||||
[],
|
||||
|
Loading…
Reference in New Issue
Block a user