Fixing failing tests in View::uuid() caused by changes to trailing / in Router::url()

This commit is contained in:
mark_story 2009-12-06 21:21:07 -05:00
parent 360810a1cf
commit b3b9ae39e3

View file

@ -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');
}
/**