Changeset 3857
- Timestamp:
- 02/20/08 17:04:26 (17 months ago)
- Files:
-
- 1 modified
-
branches/0.10/tests/QueryTestCase.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/0.10/tests/QueryTestCase.php
r3209 r3857 102 102 $this->assertEqual($q->parseClause("CONCAT('u.name', u.name)"), "CONCAT('u.name', e.name)"); 103 103 } 104 105 public function testCountMaintainsParams() 106 { 107 $q = new Doctrine_Query(); 108 $q->from('User u'); 109 $q->leftJoin('u.Phonenumber p WITH p.id = ?', '11'); 110 $q->where('u.id = ?', '15'); 111 112 $this->assertTrue($q->count(), 1); 113 } 104 114 } 105 115 class MyQuery extends Doctrine_Query