Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests stubs for ViewSimple #1560

Merged
merged 10 commits into from
Nov 26, 2013
Prev Previous commit
Next Next commit
Update ViewSimpleTest.php
Array style
  • Loading branch information
Piotr Gasiorowski committed Nov 16, 2013
commit 45c200186170b7b45b35881bbaf58eaab3f37143
2 changes: 1 addition & 1 deletion unit-tests/ViewSimpleTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ public function testRenderWithCache()

$this->assertFalse($view->getCache()); // No cache before DI is set
$view->setDI($this->_getDI());
$this->assertEquals($view, $view->cache(['key' => 'view_simple_cache']));
$this->assertEquals($view, $view->cache(array('key' => 'view_simple_cache')));

$cache = $view->getCache();
$this->assertInstanceOf('Phalcon\Cache\BackendInterface', $cache);
Expand Down