diff --git a/tests/Galach/Tokenizer/TokenExtractorTest.php b/tests/Galach/Tokenizer/TokenExtractorTest.php index 554740a..c2ffd68 100644 --- a/tests/Galach/Tokenizer/TokenExtractorTest.php +++ b/tests/Galach/Tokenizer/TokenExtractorTest.php @@ -45,6 +45,7 @@ public function testFullExtractTermTokenThrowsException() $reflectedProperty = $reflectedClass->getProperty('expressionTypeMap'); $reflectedProperty->setAccessible(true); $reflectedProperty->setValue( + null, [ '/(?foobar)/' => Tokenizer::TOKEN_TERM, ] @@ -63,6 +64,7 @@ public function testTextExtractTermTokenThrowsException() $reflectedProperty = $reflectedClass->getProperty('expressionTypeMap'); $reflectedProperty->setAccessible(true); $reflectedProperty->setValue( + null, [ '/(?foobar)/' => Tokenizer::TOKEN_TERM, ]