Rename wallabag_core to wallabag

This commit is contained in:
Yassine Guedidi
2024-02-20 00:47:53 +01:00
parent 0b44170e83
commit 74a98aaae2
29 changed files with 185 additions and 185 deletions

View File

@ -82,7 +82,7 @@ class ReloadEntryCommandTest extends WallabagCoreTestCase
$reloadedEntries = $this->getTestClient()
->getContainer()
->get('wallabag_core.entry_repository.test')
->get('wallabag.entry_repository.test')
->findById([$this->adminEntry->getId(), $this->bobEntry->getId()]);
foreach ($reloadedEntries as $reloadedEntry) {
@ -107,7 +107,7 @@ class ReloadEntryCommandTest extends WallabagCoreTestCase
'interactive' => false,
]);
$entryRepository = $this->getTestClient()->getContainer()->get('wallabag_core.entry_repository.test');
$entryRepository = $this->getTestClient()->getContainer()->get('wallabag.entry_repository.test');
$reloadedAdminEntry = $entryRepository->find($this->adminEntry->getId());
$this->assertNotEmpty($reloadedAdminEntry->getContent());
@ -128,7 +128,7 @@ class ReloadEntryCommandTest extends WallabagCoreTestCase
'--only-not-parsed' => true,
]);
$entryRepository = $this->getTestClient()->getContainer()->get('wallabag_core.entry_repository.test');
$entryRepository = $this->getTestClient()->getContainer()->get('wallabag.entry_repository.test');
$reloadedBobParsedEntry = $entryRepository->find($this->bobParsedEntry->getId());
$this->assertEmpty($reloadedBobParsedEntry->getContent());

View File

@ -16,7 +16,7 @@ class WallabagRestControllerTest extends WallabagApiTestCase
$content = json_decode($client->getResponse()->getContent(), true);
$this->assertSame($client->getContainer()->getParameter('wallabag_core.version'), $content);
$this->assertSame($client->getContainer()->getParameter('wallabag.version'), $content);
}
public function testGetInfo()

View File

@ -541,7 +541,7 @@ class EntryControllerTest extends WallabagCoreTestCase
->getRepository(Entry::class)
->find($entry->getId());
$this->assertNotSame($client->getContainer()->getParameter('wallabag_core.fetching_error_message'), $newContent->getContent());
$this->assertNotSame($client->getContainer()->getParameter('wallabag.fetching_error_message'), $newContent->getContent());
}
public function testEdit()

View File

@ -27,7 +27,7 @@ class ImportCompilerPassTest extends TestCase
$container
->register('foo')
->addTag('wallabag_core.import', ['alias' => 'pocket'])
->addTag('wallabag.import', ['alias' => 'pocket'])
;
$this->process($container);