Browse Source

fixed broken test

tags/2.0.0-beta
Carsten Brandt 11 years ago
parent
commit
b42f4b4ea0
  1. 2
      tests/unit/framework/db/ActiveRecordTest.php

2
tests/unit/framework/db/ActiveRecordTest.php

@ -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

Loading…
Cancel
Save