public function testChangeReadingSpeed()
{
$this->logInAs('admin');
+ $this->useTheme('baggy');
$client = $this->getClient();
+ $entry = new Entry($this->getLoggedInUser());
+ $entry->setUrl('http://0.0.0.0/test-entry1')
+ ->setReadingTime(22);
+ $this->getEntityManager()->persist($entry);
+
+ $this->getEntityManager()->flush();
+ $this->getEntityManager()->clear();
+
$crawler = $client->request('GET', '/unread/list');
$form = $crawler->filter('button[id=submit-filter]')->form();
$dataFilters = [
public function testTaggingRuleCreation()
{
$this->logInAs('admin');
+ $this->useTheme('baggy');
$client = $this->getClient();
$crawler = $client->request('GET', '/config');
$entryReset = $em
->getRepository('WallabagCoreBundle:Entry')
- ->countAllEntriesByUsername($user->getId());
+ ->countAllEntriesByUser($user->getId());
$this->assertEquals(1, $entryReset, 'Entries were reset');
public function testSwitchViewMode()
{
$this->logInAs('admin');
+ $this->useTheme('baggy');
$client = $this->getClient();
$client->request('GET', '/unread/list');