Phalcon\Test\Unit\Filter\FilterStringTest::testSanitizeUTF8ArrayFilterValidStringNoFilter PHP Method

testSanitizeUTF8ArrayFilterValidStringNoFilter() public method

Tests the filter with an array filter (no filtering) (International characters)
Since: 2014-09-30
Author: Nikolaos Dimopoulos ([email protected])
    public function testSanitizeUTF8ArrayFilterValidStringNoFilter()
    {
        $this->specify("sanitize string array with a valid latin string does not return correct data", function () {
            $value = 'buenos días123καλημέρα!@#$%^&*早安()_ `~=+';
            $expected = 'buenos días123καλημέρα!@#$%^&*早安()_ `~=+';
            $this->sanitizer(['string'], $expected, $value);
        });
    }