Author: ornicar2
Date: 2010-02-04 21:13:01 +0100 (Thu, 04 Feb 2010)
New Revision: 27577

Modified:
   
plugins/diemPlugin/trunk/dmCorePlugin/test/project/test/functional/admin/dmContentTest.php
Log:
[Diem]
- fixed admin functional tests to match new translations

Modified: 
plugins/diemPlugin/trunk/dmCorePlugin/test/project/test/functional/admin/dmContentTest.php
===================================================================
--- 
plugins/diemPlugin/trunk/dmCorePlugin/test/project/test/functional/admin/dmContentTest.php
  2010-02-04 19:47:55 UTC (rev 27576)
+++ 
plugins/diemPlugin/trunk/dmCorePlugin/test/project/test/functional/admin/dmContentTest.php
  2010-02-04 20:13:01 UTC (rev 27577)
@@ -27,7 +27,7 @@
 ->has('#breadCrumb')
 ->has('#dm_module_search_input')
 ->has('.sf_admin_list_td_title a.link')
-->has('.dm_pagination_status', '1 - 10 on 20');
+->has('.dm_pagination_status', '1 - 10 of 20');
 
 $browser->info('Loremize 20 posts')
 ->click('.dm_loremize a:contains(20)')
@@ -46,7 +46,7 @@
 ->with('response')->begin()
 ->isStatusCode(200)
 ->checkElement('h1', 'Dm test posts')
-->checkElement('.dm_pagination_status', '1 - 10 on 20')
+->checkElement('.dm_pagination_status', '1 - 10 of 20')
 ->checkElement('.flashs.infos', 'Successfully loremized')
 ->end();
 
@@ -184,7 +184,7 @@
 ->end()
 ->with('response')->begin()
 ->isStatusCode(200)
-->checkElement('.dm_pagination_status', '1 - 10 on 19')
+->checkElement('.dm_pagination_status', '1 - 10 of 19')
 ->checkElement('.flashs.infos', 'The selected items have been deleted 
successfully.')
 ->end()
 ->info('Activate')
@@ -376,7 +376,7 @@
 ->with('response')->begin()
 ->isStatusCode(200)
 ->checkElement('h1', 'Dm test posts')
-->checkElement('.dm_pagination_status', '1 - 10 on 20')
+->checkElement('.dm_pagination_status', '1 - 10 of 20')
 ->end();
 
 $browser->info('Search in posts')
@@ -390,7 +390,7 @@
 ->with('response')->begin()
 ->isStatusCode(200)
 ->checkElement('.dm_cancel_search')
-->checkElement('.dm_pagination_status', '1 - 1 on 1')
+->checkElement('.dm_pagination_status', '1 - 1 of 1')
 //->checkElement('.sf_admin_list_td_title:first a', $postTitle)
 //->checkElement('.sf_admin_list_td_title:last a', $postTitle)
 ->end()
@@ -404,7 +404,7 @@
 ->end()
 ->with('response')->begin()
 ->isStatusCode(200)
-->checkElement('.dm_pagination_status', '1 - 10 on 20')
+->checkElement('.dm_pagination_status', '1 - 10 of 20')
 ->end();
 
 $browser->info('Delete post')
@@ -426,5 +426,5 @@
 ->end()
 ->with('response')->begin()
 ->isStatusCode(200)
-->checkElement('.dm_pagination_status', '1 - 10 on 19')
+->checkElement('.dm_pagination_status', '1 - 10 of 19')
 ->end();
\ No newline at end of file

-- 
You received this message because you are subscribed to the Google Groups 
"symfony SVN" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/symfony-svn?hl=en.

Reply via email to