summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorVictor Andrée <[email protected]>2013-08-18 15:11:37 +0200
committerVictor Andrée <[email protected]>2013-08-18 15:11:37 +0200
commit8132c2125f7d1c69b69ac6c426b2a041584dbd59 (patch)
tree8d2bad84175e23ac9a0598adf37506280a46ac02 /test
parent19e278c2f70e77390b0497867b397ee67f0747e8 (diff)
Corrects typo in "testJoinWithAliasesAndWhere" method name.
Diffstat (limited to 'test')
-rw-r--r--test/QueryBuilderTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/QueryBuilderTest.php b/test/QueryBuilderTest.php
index a6e275b..44194d0 100644
--- a/test/QueryBuilderTest.php
+++ b/test/QueryBuilderTest.php
@@ -373,7 +373,7 @@ class QueryBuilderTest extends PHPUnit_Framework_TestCase {
$this->assertEquals($expected, ORM::get_last_query());
}
- public function testJonWithAliasesAndWhere() {
+ public function testJoinWithAliasesAndWhere() {
ORM::for_table('widget')->table_alias('w')->join('widget_handle', array('wh.widget_id', '=', 'w.id'), 'wh')->where_equal('id', 1)->find_many();
$expected = "SELECT * FROM `widget` `w` JOIN `widget_handle` `wh` ON `wh`.`widget_id` = `w`.`id` WHERE `w`.`id` = '1'";
$this->assertEquals($expected, ORM::get_last_query());