Permalink
Browse files

fix sortable selectors

  • Loading branch information...
1 parent 0cb0596 commit 03dbed42e23f040e71f55e324208da41ee9ba8fb @stfalcon committed Apr 19, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 Tests/Controller/CategoryControllerTest.php
View
4 Tests/Controller/CategoryControllerTest.php
@@ -225,7 +225,7 @@ public function testProjectOrdering()
{
$crawler = $this->fetchCrawler($this->getUrl('portfolioProjectIndex'), 'GET', true, true);
- $lis = $crawler->filter('.sortable li');
+ $lis = $crawler->filter('#sortable li');
$lis->first();
$this->assertContains('preorder.it', $lis->current()->textContent);
@@ -237,7 +237,7 @@ public function testProjectOrdering()
$this->assertEquals('good', $client->getResponse()->getContent());
$crawler = $this->fetchCrawler($this->getUrl('portfolioProjectIndex'), 'GET', true, true);
- $lis = $crawler->filter('.sortable li');
+ $lis = $crawler->filter('#sortable li');
$lis->last();
$this->assertContains('preorder.it', $lis->current()->textContent);
}

0 comments on commit 03dbed4

Please sign in to comment.