mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 11:06:15 +00:00
Add test for Validation::url() + sftp.
This commit is contained in:
parent
1693478889
commit
69a69d48a2
1 changed files with 1 additions and 0 deletions
|
@ -1738,6 +1738,7 @@ class ValidationTest extends CakeTestCase {
|
|||
$this->assertTrue(Validation::url('ftp://www.cakephp.org/pub/cake'));
|
||||
$this->assertTrue(Validation::url('ftp://cakephp.org/pub/cake'));
|
||||
$this->assertTrue(Validation::url('ftp://192.168.0.1/pub/cake'));
|
||||
$this->assertTrue(Validation::url('sftp://192.168.0.1/pub/cake'));
|
||||
$this->assertFalse(Validation::url('ftps://256.168.0.1/pub/cake'));
|
||||
$this->assertFalse(Validation::url('ftp://256.168.0.1/pub/cake'));
|
||||
$this->assertTrue(Validation::url('https://my.domain.com/gizmo/app?class=MySip;proc=start'));
|
||||
|
|
Loading…
Add table
Reference in a new issue