diff --git a/bibtexbrowser-test.php b/bibtexbrowser-test.php index d8cc0d1..4eb9939 100755 --- a/bibtexbrowser-test.php +++ b/bibtexbrowser-test.php @@ -759,7 +759,7 @@ class BTBTest extends PHPUnit_Framework_TestCase { $d = new SimpleDisplay(); $d->setDB($db); ob_start(); - $d->display(); + NoWrapper($d); $output = ob_get_clean(); $res = eval("return ".file_get_contents('reference-output-wp-publications.txt').";"); $this->assertEquals(strip_tags($res['rendered']), "[wp-publications bib=sample.bib all=1] gives:\n".strip_tags($output)."\n"); diff --git a/reference-output-wp-publications.txt b/reference-output-wp-publications.txt index 4f8699f..800ebe8 100644 --- a/reference-output-wp-publications.txt +++ b/reference-output-wp-publications.txt @@ -5,7 +5,8 @@ array ( [2]A book (), . [bibtex] 2000 [1]An article (), In The Wordpress Journal, . [bibtex] -