Skip to content

Commit

Permalink
Fix text in ExplainPlanTest
Browse files Browse the repository at this point in the history
  • Loading branch information
ddalmais committed Mar 16, 2012
1 parent 2f6a4fa commit 00bcc96
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/testsuite/runtime/query/ExplainPlanTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ public function testMysqlExplain()
$this->assertEquals($explain[0]['possible_keys'], 'book_FI_2', 'Line 1, possible_keys is equal to "book_FI_2"');
$this->assertEquals($explain[0]['key'], null, 'Line 1, key is equal to "NULL"');

$this->assertEquals($explain[1]['select_type'], 'SIMPLE', 'Line 1, select_type is equal to "SIMPLE"');
$this->assertEquals($explain[1]['table'], 'author', 'Line 1, table is equal to "author"');
$this->assertEquals($explain[1]['type'], 'eq_ref', 'Line 1, type is equal to "eq_ref"');
$this->assertEquals($explain[1]['possible_keys'], 'PRIMARY', 'Line 1, possible_keys is equal to "PRIMARY"');
$this->assertEquals($explain[1]['key'], 'PRIMARY', 'Line 1, key is equal to "PRIMARY"');
$this->assertEquals($explain[1]['select_type'], 'SIMPLE', 'Line 2, select_type is equal to "SIMPLE"');
$this->assertEquals($explain[1]['table'], 'author', 'Line 2, table is equal to "author"');
$this->assertEquals($explain[1]['type'], 'eq_ref', 'Line 2, type is equal to "eq_ref"');
$this->assertEquals($explain[1]['possible_keys'], 'PRIMARY', 'Line 2, possible_keys is equal to "PRIMARY"');
$this->assertEquals($explain[1]['key'], 'PRIMARY', 'Line 2, key is equal to "PRIMARY"');
}
}

0 comments on commit 00bcc96

Please sign in to comment.