diff --git a/lib/Cake/Test/Case/Model/Datasource/Session/DatabaseSessionTest.php b/lib/Cake/Test/Case/Model/Datasource/Session/DatabaseSessionTest.php index a0c6b30a3..1a4b316f0 100644 --- a/lib/Cake/Test/Case/Model/Datasource/Session/DatabaseSessionTest.php +++ b/lib/Cake/Test/Case/Model/Datasource/Session/DatabaseSessionTest.php @@ -198,6 +198,11 @@ class DatabaseSessionTest extends CakeTestCase { * @return void */ public function testConcurrentInsert() { + $this->skipIf( + $this->db instanceof Sqlite, + 'Sqlite does not throw exceptions when attempting to insert a duplicate primary key' + ); + ClassRegistry::removeObject('Session'); $mockedModel = $this->getMockForModel(