mirror of
https://github.com/wallabag/wallabag.git
synced 2025-09-15 18:57:05 +00:00
Upgrade to Symfony 4.4
- disable autowiring for Event (because the Entry entity was injected) - rename `getClient()` for test to `getTestClient()` to avoid error while overriding (from `BrowserKitAssertionsTrait`)
This commit is contained in:
parent
655ec5e07a
commit
aa5c7f05b8
43 changed files with 966 additions and 1239 deletions
|
@ -16,7 +16,7 @@ class ImportCommandTest extends WallabagCoreTestCase
|
|||
$this->expectException(RuntimeException::class);
|
||||
$this->expectExceptionMessage('Not enough arguments');
|
||||
|
||||
$application = new Application($this->getClient()->getKernel());
|
||||
$application = new Application($this->getTestClient()->getKernel());
|
||||
|
||||
$command = $application->find('wallabag:import');
|
||||
|
||||
|
@ -29,7 +29,7 @@ class ImportCommandTest extends WallabagCoreTestCase
|
|||
$this->expectException(Exception::class);
|
||||
$this->expectExceptionMessage('not found');
|
||||
|
||||
$application = new Application($this->getClient()->getKernel());
|
||||
$application = new Application($this->getTestClient()->getKernel());
|
||||
|
||||
$command = $application->find('wallabag:import');
|
||||
|
||||
|
@ -44,7 +44,7 @@ class ImportCommandTest extends WallabagCoreTestCase
|
|||
{
|
||||
$this->expectException(NoResultException::class);
|
||||
|
||||
$application = new Application($this->getClient()->getKernel());
|
||||
$application = new Application($this->getTestClient()->getKernel());
|
||||
|
||||
$command = $application->find('wallabag:import');
|
||||
|
||||
|
@ -57,7 +57,7 @@ class ImportCommandTest extends WallabagCoreTestCase
|
|||
|
||||
public function testRunImportCommand()
|
||||
{
|
||||
$application = new Application($this->getClient()->getKernel());
|
||||
$application = new Application($this->getTestClient()->getKernel());
|
||||
|
||||
$command = $application->find('wallabag:import');
|
||||
|
||||
|
@ -76,7 +76,7 @@ class ImportCommandTest extends WallabagCoreTestCase
|
|||
{
|
||||
$this->logInAs('admin');
|
||||
|
||||
$application = new Application($this->getClient()->getKernel());
|
||||
$application = new Application($this->getTestClient()->getKernel());
|
||||
|
||||
$command = $application->find('wallabag:import');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue