tao-test/app/vendor/respect/validation/tests/integration/bsn_3.phpt

17 lines
264 B
PHP

--FILE--
<?php
require 'vendor/autoload.php';
use Respect\Validation\Exceptions\BsnException;
use Respect\Validation\Validator as v;
try {
v::bsn()->check(null);
} catch (BsnException $e) {
echo $e->getMainMessage();
}
?>
--EXPECTF--
null must be a BSN