Changeset 5094
- Timestamp:
- 10/15/08 21:39:06 (9 months ago)
- Location:
- branches
- Files:
-
- 2 modified
-
1.0/tests/Ticket/1341TestCase.php (modified) (1 diff)
-
1.1/tests/Ticket/1341TestCase.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/1.0/tests/Ticket/1341TestCase.php
r5093 r5094 60 60 ), 61 61 )); 62 $q = Doctrine_Query::create()63 ->from('Ticket_1341_User u')64 ->leftJoin('u.Profile p');65 $users = $q->execute();62 $q = Doctrine_Query::create() 63 ->from('Ticket_1341_User u') 64 ->leftJoin('u.Profile p'); 65 $this->assertEqual($q->getSql(), 'SELECT t.id AS t__id, t.username AS t__username, t.password AS t__password, t2.id AS t2__id, t2.name AS t2__name, t2.userid AS t2__userid FROM ticket_1341__user t LEFT JOIN ticket_1341__profile t2 ON t.id = t2.userid'); 66 66 } catch (Exception $e) { 67 67 $this->fail($e->getMessage()); -
branches/1.1/tests/Ticket/1341TestCase.php
r5093 r5094 63 63 ->from('Ticket_1341_User u') 64 64 ->leftJoin('u.Profile p'); 65 $ users = $q->execute();65 $this->assertEqual($q->getSql(), 'SELECT t.id AS t__id, t.username AS t__username, t.password AS t__password, t2.id AS t2__id, t2.name AS t2__name, t2.userid AS t2__userid FROM ticket_1341__user t LEFT JOIN ticket_1341__profile t2 ON t.id = t2.userid'); 66 66 } catch (Exception $e) { 67 67 $this->fail($e->getMessage());