From 433958b40ce5d892b9e5c2606a3113ff1132c216 Mon Sep 17 00:00:00 2001
From: Carsten Brandt <mail@cebe.cc>
Date: Sun, 3 Nov 2013 15:50:11 +0100
Subject: [PATCH] removed sqlite specific test as it is the same as base AR test now

---
 tests/unit/framework/db/sqlite/SqliteActiveRecordTest.php | 31 -------------------------------
 1 file changed, 31 deletions(-)

diff --git a/tests/unit/framework/db/sqlite/SqliteActiveRecordTest.php b/tests/unit/framework/db/sqlite/SqliteActiveRecordTest.php
index 6f499bb..88e950a 100644
--- a/tests/unit/framework/db/sqlite/SqliteActiveRecordTest.php
+++ b/tests/unit/framework/db/sqlite/SqliteActiveRecordTest.php
@@ -11,35 +11,4 @@ use yiiunit\framework\db\ActiveRecordTest;
 class SqliteActiveRecordTest extends ActiveRecordTest
 {
 	protected $driverName = 'sqlite';
-
-	/**
-	 * Some PDO implementations(e.g. cubrid) do not support boolean values.
-	 * Make sure this does not affect AR layer.
-	 */
-	public function testBooleanAttribute()
-	{
-		$customer = new Customer();
-		$customer->name = 'boolean customer';
-		$customer->email = 'mail@example.com';
-		$customer->status = true;
-		$customer->save(false);
-
-		$customer->refresh();
-		$this->assertEquals(1, $customer->status);
-
-		$customer->status = false;
-		$customer->save(false);
-
-		$customer->refresh();
-		// sqlite will return empty string here but it would still
-		// evaluate to false or null so we accept it
-		$this->assertTrue(0 == $customer->status);
-
-		// select with boolean values does not seem to work in sqlite
-		$customers = Customer::find()->where(['status' => true])->all();
-		$this->assertEquals(2, count($customers));
-
-		$customers = Customer::find()->where(['status' => false])->all();
-		$this->assertEquals(1, count($customers));
-	}
 }
--
libgit2 0.27.1