From 6ec36ab04e1959599e721003251e070822f558e8 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 2 Oct 2019 20:36:57 +0200 Subject: [PATCH] Fix phpunit --- test/phpunit/FunctionsLibTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/phpunit/FunctionsLibTest.php b/test/phpunit/FunctionsLibTest.php index bc6a399c1f2..209b077fc4f 100644 --- a/test/phpunit/FunctionsLibTest.php +++ b/test/phpunit/FunctionsLibTest.php @@ -901,7 +901,7 @@ class FunctionsLibTest extends PHPUnit\Framework\TestCase { $s=img_picto('title', 'user'); print __METHOD__." s=".$s."\n"; - $this->assertContains('theme', $s, 'testImgPicto1'); + $this->assertContains('fa-user', $s, 'testImgPicto1'); $s=img_picto('title', 'img.png', 'style="float: right"', 0); print __METHOD__." s=".$s."\n";