From a51948c24514918c330992880dfe29ef51560857 Mon Sep 17 00:00:00 2001 From: Regis Houssin <regis@dolibarr.fr> Date: Sat, 21 Jan 2012 18:46:36 +0100 Subject: [PATCH] Fix: wrong name --- test/phpunit/FilesLibTest.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/phpunit/FilesLibTest.php b/test/phpunit/FilesLibTest.php index 13c55453480..5a896452c3a 100644 --- a/test/phpunit/FilesLibTest.php +++ b/test/phpunit/FilesLibTest.php @@ -1,5 +1,6 @@ <?php -/* Copyright (C) 2010 Laurent Destailleur <eldy@users.sourceforge.net> +/* Copyright (C) 2010-2012 Laurent Destailleur <eldy@users.sourceforge.net> + * Copyright (C) 2012 Regis Houssin <regis@dolibarr.fr> * * 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 @@ class FilesLibTest extends PHPUnit_Framework_TestCase $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); -- GitLab