diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-11-26 19:33:03 -0800 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-11-26 19:33:03 -0800 |
commit | e8fb773b68335e955602c0d912e13c0f5ba23d58 (patch) | |
tree | 79196351e51137a1bd19e68b1d134e4d1ae8bfee /modules/gallery/tests | |
parent | e0e882baabe9d4436c12bd57f903159c3b0274d9 (diff) |
Update all portable where clauses to the new Kohana 2.4 format.
Diffstat (limited to 'modules/gallery/tests')
-rw-r--r-- | modules/gallery/tests/ORM_MPTT_Test.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/gallery/tests/ORM_MPTT_Test.php b/modules/gallery/tests/ORM_MPTT_Test.php index a749542b..36a81d2c 100644 --- a/modules/gallery/tests/ORM_MPTT_Test.php +++ b/modules/gallery/tests/ORM_MPTT_Test.php @@ -228,7 +228,7 @@ class ORM_MPTT_Test extends Unit_Test_Case { $parent->reload(); $this->assert_equal(3, $parent->descendants_count()); - $this->assert_equal(2, $parent->descendants_count(array("type" => "photo"))); - $this->assert_equal(1, $parent->descendants_count(array("type" => "album"))); + $this->assert_equal(2, $parent->descendants_count(array(array("type", "=", "photo")))); + $this->assert_equal(1, $parent->descendants_count(array(array("type", "=", "album")))); } } |