diff --git a/test/phpunit/FilesLibTest.php b/test/phpunit/FilesLibTest.php index 13c554534807e..5a896452c3a9a 100644 --- a/test/phpunit/FilesLibTest.php +++ b/test/phpunit/FilesLibTest.php @@ -1,5 +1,6 @@ +/* Copyright (C) 2010-2012 Laurent Destailleur + * Copyright (C) 2012 Regis Houssin * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -169,7 +170,7 @@ public function testDolOther() $this->assertTrue($result); $url='file://www.dolibarr.org/download/file.zip'; - $result=dol_is_url($file); + $result=dol_is_url($url); print __METHOD__." result=".$result."\n"; $this->assertTrue($result);