diff --git a/docs/ru/mods/in.md b/docs/ru/mods/in.md index 81aa1af..8d62414 100644 --- a/docs/ru/mods/in.md +++ b/docs/ru/mods/in.md @@ -1,6 +1,8 @@ Модификатор in =========== + + Модификатор является реализацией оператора содержания [in](../operators.md#Оператор-содержания). ```smarty diff --git a/tests/TestCase.php b/tests/TestCase.php index 55dcf59..2299b4d 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -3,7 +3,7 @@ namespace Fenom; use Fenom, Fenom\Provider as FS; -class TestCase extends \PHPUnit\Framework\TestCase +class TestCase extends \PHPUnit_Framework_TestCase { public $template_path = 'template'; /** diff --git a/tests/cases/Fenom/AccessorTest.php b/tests/cases/Fenom/AccessorTest.php index cff346a..2c0684d 100644 --- a/tests/cases/Fenom/AccessorTest.php +++ b/tests/cases/Fenom/AccessorTest.php @@ -132,7 +132,7 @@ class AccessorTest extends TestCase * @group issue260 */ public function testBug260() { - $this->fenom->compileCode('{$.php.Fenom::factory()->addDay()}'); + $this->fenom->compileCode('{$.php.Fenom::factory()->addModifier("intval", "intval")}'); }