Commit b42f4b4e by Carsten Brandt

fixed broken test

parent 172a9f19
......@@ -44,7 +44,7 @@ class ActiveRecordTest extends DatabaseTestCase
$this->assertNull($customer);
// query scalar
$customerName = Customer::find()->where(array('id' => 2))->scalar('name');
$customerName = Customer::find()->where(array('id' => 2))->select('name')->scalar();
$this->assertEquals('user2', $customerName);
// find by column values
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment