Browse Source

Fix failing test

ADmad 13 years ago
parent
commit
fce07bd5b8
1 changed files with 2 additions and 2 deletions
  1. 2 2
      lib/Cake/Test/Case/Controller/ControllerTest.php

+ 2 - 2
lib/Cake/Test/Case/Controller/ControllerTest.php

@@ -543,8 +543,8 @@ class ControllerTest extends CakeTestCase {
 		$Controller->flash('this should work', '/flash');
 		$result = $Controller->response->body();
 
-		$expected = '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-		<html xmlns="http://www.w3.org/1999/xhtml">
+		$expected = '<!DOCTYPE html>
+		<html>
 		<head>
 		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 		<title>this should work</title>