Fix tests

This commit is contained in:
Tim Nagel 2015-01-22 11:49:28 +11:00
parent 79e263d7a7
commit 030b194c7b

View file

@ -39,8 +39,8 @@ class MappingToElasticaTest extends WebTestCase
$parent = $this->getType($client, 'parent');
$mapping = $parent->getMapping();
$this->assertEquals('my_analyzer', $mapping['type']['index_analyzer']);
$this->assertEquals('whitespace', $mapping['type']['search_analyzer']);
$this->assertEquals('my_analyzer', $mapping['parent']['index_analyzer']);
$this->assertEquals('whitespace', $mapping['parent']['search_analyzer']);
}
public function testResetType()