Author: dr
Date: Mon Aug 13 11:58:54 2007
New Revision: 5890

Log:
- Fixed test case

Modified:
    trunk/PersistentObject/tests/persistent_session_test.php

Modified: trunk/PersistentObject/tests/persistent_session_test.php
==============================================================================
--- trunk/PersistentObject/tests/persistent_session_test.php [iso-8859-1] 
(original)
+++ trunk/PersistentObject/tests/persistent_session_test.php [iso-8859-1] Mon 
Aug 13 11:58:54 2007
@@ -505,7 +505,7 @@
         catch ( ezcPersistentQueryException $e )
         {
             $this->assertEquals(
-                "A query failed internally in Persistent Object: 
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'foobar' in 'where 
clause' Query: 'DELETE FROM `PO_test` WHERE foobar <> 0'",
+                "A query failed internally in Persistent Object: 
SQLSTATE[HY000]: General error: 1 no such column: foobar Query: 'DELETE FROM 
\"PO_test\" WHERE foobar <> 0'",
                 $e->getMessage()
             );
         }


-- 
svn-components mailing list
[email protected]
http://lists.ez.no/mailman/listinfo/svn-components

Reply via email to