diff --git a/test/phpunit/FilesLibTest.php b/test/phpunit/FilesLibTest.php
index 13c554534807e6e35adbe27235356fe5223ebfde..5a896452c3a9a53ff8c2aecb844107778bcf4d0f 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);