Skip to content

Commit 030b194

Browse files
committed
Fix tests
1 parent 79e263d commit 030b194

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/Functional/MappingToElasticaTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ public function testResetIndexAddsMappings()
3939
$parent = $this->getType($client, 'parent');
4040
$mapping = $parent->getMapping();
4141

42-
$this->assertEquals('my_analyzer', $mapping['type']['index_analyzer']);
43-
$this->assertEquals('whitespace', $mapping['type']['search_analyzer']);
42+
$this->assertEquals('my_analyzer', $mapping['parent']['index_analyzer']);
43+
$this->assertEquals('whitespace', $mapping['parent']['search_analyzer']);
4444
}
4545

4646
public function testResetType()

0 commit comments

Comments
 (0)