mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-18 18:46:17 +00:00
updating view tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6435 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
abd94bc068
commit
28545feec3
2 changed files with 5 additions and 5 deletions
|
@ -138,7 +138,7 @@ class ThemeViewTest extends UnitTestCase {
|
|||
|
||||
$ThemeView = new TestThemeView($this->Controller);
|
||||
|
||||
$expected = 'missingView';
|
||||
$expected = TEST_CAKE_CORE_INCLUDE_PATH . 'libs' . DS . 'view' . DS . 'errors' . DS . 'missing_view.ctp';
|
||||
$result = $ThemeView->getViewFileName('does_not_exist');
|
||||
$this->assertEqual($result, $expected);
|
||||
|
||||
|
@ -151,7 +151,7 @@ class ThemeViewTest extends UnitTestCase {
|
|||
$this->Controller->layout = 'whatever';
|
||||
|
||||
$ThemeView = new TestThemeView($this->Controller);
|
||||
$expected = 'missingLayout';
|
||||
$expected = TEST_CAKE_CORE_INCLUDE_PATH . 'libs' . DS . 'view' . DS . 'errors' . DS . 'missing_layout.ctp';
|
||||
$result = $ThemeView->getLayoutFileName();
|
||||
$this->assertEqual($result, $expected);
|
||||
}
|
||||
|
|
|
@ -270,7 +270,7 @@ class ViewTest extends UnitTestCase {
|
|||
<title>
|
||||
CakePHP: the rapid development php framework: Posts </title>
|
||||
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<link rel="icon" href="favicon.ico" type="image/x-icon" />
|
||||
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
|
||||
<link rel="stylesheet" type="text/css" href="css/cake.generic.css" /> </head>
|
||||
|
@ -309,7 +309,7 @@ class ViewTest extends UnitTestCase {
|
|||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>yo what up</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<style><!--
|
||||
P { text-align:center; font:bold 1.1em sans-serif }
|
||||
A { color:#444; text-decoration:none }
|
||||
|
@ -339,7 +339,7 @@ class ViewTest extends UnitTestCase {
|
|||
<title>
|
||||
CakePHP: the rapid development php framework: Posts </title>
|
||||
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<link rel="icon" href="favicon.ico" type="image/x-icon" />
|
||||
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
|
||||
<link rel="stylesheet" type="text/css" href="css/cake.generic.css" /> </head>
|
||||
|
|
Loading…
Add table
Reference in a new issue