diff --git a/t/Asset/AssetExportHtml.t b/t/Asset/AssetExportHtml.t index c259387f3..1e8e05f68 100644 --- a/t/Asset/AssetExportHtml.t +++ b/t/Asset/AssetExportHtml.t @@ -1017,7 +1017,7 @@ END { # restore the original exportPath setting, now that we're done testing # exportCheckPath. - $session->config->set('exportPath', $originalExportPath) if $originalExportPath; + $session->config->set('exportPath', $originalExportPath); # we created a couple of assets; roll them back so they don't stick around $versionTag->rollback();