mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-06 23:33:13 +08:00
Replace references to doma.in with s.test
This commit is contained in:
@@ -21,7 +21,7 @@ class DropDefaultDomainFromRequestMiddlewareTest extends TestCase
|
||||
protected function setUp(): void
|
||||
{
|
||||
$this->next = $this->createMock(RequestHandlerInterface::class);
|
||||
$this->middleware = new DropDefaultDomainFromRequestMiddleware('doma.in');
|
||||
$this->middleware = new DropDefaultDomainFromRequestMiddleware('s.test');
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -47,8 +47,8 @@ class DropDefaultDomainFromRequestMiddlewareTest extends TestCase
|
||||
{
|
||||
yield [[], []];
|
||||
yield [['foo' => 'bar'], ['foo' => 'bar']];
|
||||
yield [['foo' => 'bar', 'domain' => 'doma.in'], ['foo' => 'bar']];
|
||||
yield [['foo' => 'bar', 'domain' => 's.test'], ['foo' => 'bar']];
|
||||
yield [['foo' => 'bar', 'domain' => 'not_default'], ['foo' => 'bar', 'domain' => 'not_default']];
|
||||
yield [['domain' => 'doma.in'], []];
|
||||
yield [['domain' => 's.test'], []];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user