Skip to content

Commit 77ed895

Browse files
committed
Fix test
1 parent 3f0bffc commit 77ed895

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/Settings/TypoToleranceTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,13 @@ final class TypoToleranceTest extends TestCase
1919
],
2020
'disableOnWords' => [],
2121
'disableOnAttributes' => [],
22+
'disableOnNumbers' => false,
2223
];
2324

2425
protected function setUp(): void
2526
{
2627
parent::setUp();
28+
2729
$this->index = $this->createEmptyIndex($this->safeIndexName());
2830
}
2931

@@ -44,6 +46,7 @@ public function testUpdateTypoTolerance(): void
4446
],
4547
'disableOnWords' => [],
4648
'disableOnAttributes' => ['title'],
49+
'disableOnNumbers' => true,
4750
];
4851
$this->index->updateTypoTolerance($newTypoTolerance)->wait();
4952
$typoTolerance = $this->index->getTypoTolerance();

0 commit comments

Comments
 (0)