Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixing test broken in [8136]. Adding Configure::write() to prevent fa…

…ils when running helpers as a group.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8143 3807eeeb-6ff5-0310-8944-8be069107fe0
  • Loading branch information...
commit 32107f5fbaa0493494baf24191e6586942808bd3 1 parent fcb8ef2
@markstory markstory authored
View
2  cake/tests/cases/libs/view/helpers/ajax.test.php
@@ -301,7 +301,7 @@ function testDraggable() {
);
$this->assertTags($result, $expected);
- $result = $this->Ajax->drag('id', array('onDrag' => 'doDrag', 'onDropped' => 'doDrop'));
+ $result = $this->Ajax->drag('id', array('onDrag' => 'doDrag', 'onEnd' => 'doEnd'));
$this->assertPattern('/onDrag:doDrag/', $result);
$this->assertPattern('/onEnd:doEnd/', $result);
}
View
1  cake/tests/cases/libs/view/helpers/javascript.test.php
@@ -141,6 +141,7 @@ function testConstruct() {
* @return void
*/
function testLink() {
+ Configure::write('Asset.timestamp', false);
$result = $this->Javascript->link('script.js');
$expected = '<script type="text/javascript" src="js/script.js"></script>';
$this->assertEqual($result, $expected);
Please sign in to comment.
Something went wrong with that request. Please try again.