From 9c1f03e12a0bffe47e09bb939023aaf7d89f3a50 Mon Sep 17 00:00:00 2001 From: Martin Monperrus Date: Wed, 7 Oct 2015 22:55:03 +0200 Subject: [PATCH] improves test isolation --- bibtexbrowser-test.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bibtexbrowser-test.php b/bibtexbrowser-test.php index ba25471..5fdb759 100755 --- a/bibtexbrowser-test.php +++ b/bibtexbrowser-test.php @@ -12,6 +12,9 @@ $ phpunit --coverage-html ./coverage btb-test.php $_GET['library']=1; +copy('bibtexbrowser.local.php','bibtexbrowser.local.php.bak'); +unlink('bibtexbrowser.local.php'); + require_once ('bibtexbrowser.php'); error_reporting(E_ALL);