Skip to content

Commit

Permalink
Add hooks within test.
Browse files Browse the repository at this point in the history
  • Loading branch information
miina authored and westonruter committed May 23, 2018
1 parent 9389701 commit a4dd15c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test-class-amp-theme-support.php
Original file line number Diff line number Diff line change
Expand Up @@ -1102,6 +1102,7 @@ public function test_prepare_response_bad_html() {
public function test_prepare_response_to_add_html5_doctype_and_amp_attribute() {
add_theme_support( 'amp' );
AMP_Theme_Support::init();
AMP_Theme_Support::add_hooks();
ob_start();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
Expand Down

0 comments on commit a4dd15c

Please sign in to comment.