Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
  • Loading branch information
madhuracj committed Jan 28, 2015
1 parent a50fe9d commit 20cf74c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/classes/PMA_Index_test.php
Expand Up @@ -92,7 +92,7 @@ public function testConstructor()
$index->getComments()
);
$this->assertEquals(
'INDEX',
'PMA_Index_choice',
$index->getChoice()
);

Expand Down
4 changes: 2 additions & 2 deletions test/libraries/PMA_tbl_indexes_test.php
Expand Up @@ -97,7 +97,7 @@ public function testPMAGetSqlQueryForIndexCreateOrEdit()
);

$this->assertEquals(
"ALTER TABLE `pma_db`.`pma_table` DROP PRIMARY KEY, ADD UNIQUE COMMENT '';",
"ALTER TABLE `pma_db`.`pma_table` DROP PRIMARY KEY, ADD UNIQUE ;",
$sql
);
}
Expand Down Expand Up @@ -241,7 +241,7 @@ public function testPMAGetHtmlForIndexForm()

//generateIndexSelector
$this->assertContains(
$index->generateIndexChoiceSelector(),
$index->generateIndexChoiceSelector(false),
$html
);

Expand Down

0 comments on commit 20cf74c

Please sign in to comment.