/** * Test for getIndexChoices * * @return void */ public function testGetIndexChoices() { $index_choices = PMA\libraries\Index::getIndexChoices(); $this->assertEquals(5, count($index_choices)); $this->assertEquals('PRIMARY,INDEX,UNIQUE,SPATIAL,FULLTEXT', implode(",", $index_choices)); }