mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-09 16:53:11 +08:00
Invoke PHPUnit's assertions statically
This commit is contained in:
@@ -21,8 +21,8 @@ class ConfigProviderTest extends TestCase
|
||||
{
|
||||
$config = ($this->configProvider)();
|
||||
|
||||
$this->assertArrayHasKey('routes', $config);
|
||||
$this->assertArrayHasKey('dependencies', $config);
|
||||
self::assertArrayHasKey('routes', $config);
|
||||
self::assertArrayHasKey('dependencies', $config);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -35,7 +35,7 @@ class ConfigProviderTest extends TestCase
|
||||
|
||||
$config = $configProvider();
|
||||
|
||||
$this->assertEquals($expected, $config['routes']);
|
||||
self::assertEquals($expected, $config['routes']);
|
||||
}
|
||||
|
||||
public function provideRoutesConfig(): iterable
|
||||
|
||||
Reference in New Issue
Block a user