mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Fixing failing tests in View::uuid() caused by changes to trailing / in Router::url()
This commit is contained in:
parent
360810a1cf
commit
b3b9ae39e3
1 changed files with 3 additions and 3 deletions
|
@ -445,11 +445,11 @@ class ViewTest extends CakeTestCase {
|
|||
*/
|
||||
function testUUIDGeneration() {
|
||||
$result = $this->View->uuid('form', array('controller' => 'posts', 'action' => 'index'));
|
||||
$this->assertEqual($result, 'form0425fe3bad');
|
||||
$this->assertEqual($result, 'form5988016017');
|
||||
$result = $this->View->uuid('form', array('controller' => 'posts', 'action' => 'index'));
|
||||
$this->assertEqual($result, 'forma9918342a7');
|
||||
$this->assertEqual($result, 'formc3dc6be854');
|
||||
$result = $this->View->uuid('form', array('controller' => 'posts', 'action' => 'index'));
|
||||
$this->assertEqual($result, 'form3ecf2e3e96');
|
||||
$this->assertEqual($result, 'form28f92cc87f');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue