logo       

4125 - trunk/PersistentObjectDatabaseSchemaTiein/tests [eZComponents: Trunk: msg#00298

web.ezcomponents.cvs

Subject: 4125 - trunk/PersistentObjectDatabaseSchemaTiein/tests [eZComponents: Trunk]

Author: Tobias Schlitt
Date: 2006-11-29 10:09:40 +0100 (Wed, 29 Nov 2006)
New Revision: 4125

Log:
- Fixed test case.
# Does not work with SQLite memory database.

Modified:
trunk/PersistentObjectDatabaseSchemaTiein/tests/test.php

Modified: trunk/PersistentObjectDatabaseSchemaTiein/tests/test.php
===================================================================
--- trunk/PersistentObjectDatabaseSchemaTiein/tests/test.php 2006-11-29
08:26:16 UTC (rev 4124)
+++ trunk/PersistentObjectDatabaseSchemaTiein/tests/test.php 2006-11-29
09:09:40 UTC (rev 4125)
@@ -144,9 +144,9 @@
$type = ezcTestSettings::getInstance()->db->phptype;
$dsn = ezcTestSettings::getInstance()->db->dsn;

- if ( $dsn === null || $type === null )
+ if ( $dsn === null || $type === null || $dsn === "sqlite://:memory:" )
{
- $this->markTestSkipped( "DSN or database type not set" );
+ $this->markTestSkipped( "DSN or database type not set or DSN not
supported." );
}

// setup this test



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise