aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Tests/Controller/EntryControllerTest.php
diff options
context:
space:
mode:
authorJeremy Benoist <jeremy.benoist@gmail.com>2015-08-20 07:53:55 +0200
committerJeremy Benoist <jeremy.benoist@gmail.com>2015-08-20 07:53:55 +0200
commit8ce32af61229eec8f4cc34b207273d47f60adc48 (patch)
tree4d878e6d4eb5c1baab95cd02e3eb95ee4182a399 /src/Wallabag/CoreBundle/Tests/Controller/EntryControllerTest.php
parent34437f408c5b7b590aded6795d7ce01bfbfc7711 (diff)
downloadwallabag-8ce32af61229eec8f4cc34b207273d47f60adc48.tar.gz
wallabag-8ce32af61229eec8f4cc34b207273d47f60adc48.tar.zst
wallabag-8ce32af61229eec8f4cc34b207273d47f60adc48.zip
CS
We shouldn't forget to run `php-cs-fixer` time to time
Diffstat (limited to 'src/Wallabag/CoreBundle/Tests/Controller/EntryControllerTest.php')
-rw-r--r--src/Wallabag/CoreBundle/Tests/Controller/EntryControllerTest.php11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/Wallabag/CoreBundle/Tests/Controller/EntryControllerTest.php b/src/Wallabag/CoreBundle/Tests/Controller/EntryControllerTest.php
index 8d013ec0..86a19f61 100644
--- a/src/Wallabag/CoreBundle/Tests/Controller/EntryControllerTest.php
+++ b/src/Wallabag/CoreBundle/Tests/Controller/EntryControllerTest.php
@@ -252,7 +252,7 @@ class EntryControllerTest extends WallabagCoreTestCase
252 252
253 $data = array( 253 $data = array(
254 'entry_filter[readingTime][right_number]' => 11, 254 'entry_filter[readingTime][right_number]' => 11,
255 'entry_filter[readingTime][left_number]' => 11 255 'entry_filter[readingTime][left_number]' => 11,
256 ); 256 );
257 257
258 $crawler = $client->submit($form, $data); 258 $crawler = $client->submit($form, $data);
@@ -271,7 +271,7 @@ class EntryControllerTest extends WallabagCoreTestCase
271 271
272 $data = array( 272 $data = array(
273 'entry_filter[createdAt][left_date]' => date('d/m/Y'), 273 'entry_filter[createdAt][left_date]' => date('d/m/Y'),
274 'entry_filter[createdAt][right_date]' => date('d/m/Y', strtotime("+1 day")) 274 'entry_filter[createdAt][right_date]' => date('d/m/Y', strtotime('+1 day')),
275 ); 275 );
276 276
277 $crawler = $client->submit($form, $data); 277 $crawler = $client->submit($form, $data);
@@ -280,13 +280,12 @@ class EntryControllerTest extends WallabagCoreTestCase
280 280
281 $data = array( 281 $data = array(
282 'entry_filter[createdAt][left_date]' => '01/01/1970', 282 'entry_filter[createdAt][left_date]' => '01/01/1970',
283 'entry_filter[createdAt][right_date]' => '01/01/1970' 283 'entry_filter[createdAt][right_date]' => '01/01/1970',
284 ); 284 );
285 285
286 $crawler = $client->submit($form, $data); 286 $crawler = $client->submit($form, $data);
287 287
288 $this->assertCount(0, $crawler->filter('div[class=entry]')); 288 $this->assertCount(0, $crawler->filter('div[class=entry]'));
289
290 } 289 }
291 290
292 public function testPaginationWithFilter() 291 public function testPaginationWithFilter()
@@ -318,7 +317,7 @@ class EntryControllerTest extends WallabagCoreTestCase
318 $crawler = $client->request('GET', '/unread/list'); 317 $crawler = $client->request('GET', '/unread/list');
319 $form = $crawler->filter('button[id=submit-filter]')->form(); 318 $form = $crawler->filter('button[id=submit-filter]')->form();
320 $data = array( 319 $data = array(
321 'entry_filter[domainName]' => 'monde' 320 'entry_filter[domainName]' => 'monde',
322 ); 321 );
323 322
324 $crawler = $client->submit($form, $data); 323 $crawler = $client->submit($form, $data);
@@ -326,7 +325,7 @@ class EntryControllerTest extends WallabagCoreTestCase
326 325
327 $form = $crawler->filter('button[id=submit-filter]')->form(); 326 $form = $crawler->filter('button[id=submit-filter]')->form();
328 $data = array( 327 $data = array(
329 'entry_filter[domainName]' => 'wallabag' 328 'entry_filter[domainName]' => 'wallabag',
330 ); 329 );
331 330
332 $crawler = $client->submit($form, $data); 331 $crawler = $client->submit($form, $data);