diff --git a/t/Asset/AssetExportHtml.t b/t/Asset/AssetExportHtml.t index 251f49125..892d44c49 100644 --- a/t/Asset/AssetExportHtml.t +++ b/t/Asset/AssetExportHtml.t @@ -29,6 +29,7 @@ use File::Path; use File::Temp qw/tempfile tempdir/; use Path::Class; use Test::Deep; +use Test::Differences; #---------------------------------------------------------------------------- # Init @@ -428,7 +429,8 @@ is($@, '', "exportWriteFile works for grandchild"); ok(-e $grandChild->exportGetUrlAsPath->absolute->stringify, "exportWriteFile actually writes the grandchild file"); # finally, check its contents -eval { $content = WebGUI::Test->getPage($grandChild, 'exportHtml_view', { user => WebGUI::User->new($session, 1) }) }; +$session->style->sent(0); +eval { $content = WebGUI::Test->getPage($grandChild, 'exportHtml_view') }; is(scalar $grandChild->exportGetUrlAsPath->absolute->slurp, $content, "exportWriteFile puts correct content in exported grandchild"); # test different extensions