Skip to content

Commit

Permalink
Restore previous working behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
thekid committed Aug 6, 2015
1 parent c41871e commit 45ae682
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
1 change: 0 additions & 1 deletion src/main/php/unittest/web/WebTestCase.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ public function getDom() {
} else {
@$this->dom->loadHTMLFile(Streams::readableUri($this->response->getInputStream()));
}
var_dump($this->dom->actualEncoding);
}
return $this->dom;
}
Expand Down
5 changes: 1 addition & 4 deletions src/test/php/unittest/web/tests/EncodingTest.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,8 @@ static function __static() {
/** @return var[][] */
private function fixtures() {
return [
[sprintf(self::$FIXTURE, '<meta charset="utf-8">')],
[sprintf(self::$FIXTURE, '<meta http-equiv="content-type" content="text/html; charset=utf-8">')],
[sprintf(utf8_decode(self::$FIXTURE), '<meta charset="iso-8859-1">')],
[sprintf(utf8_decode(self::$FIXTURE), '<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">')],
[sprintf(self::$FIXTURE, '<!-- No meta tag -->')]
[sprintf(utf8_decode(self::$FIXTURE), '<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">')]
];
}

Expand Down

0 comments on commit 45ae682

Please sign in to comment.