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

17 lines
264 B
Plaintext
Raw Normal View History

2022-08-29 20:14:13 +02:00
--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