This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".

The branch, master has been updated
       via  1db485dbb1e039dd9753b4a5171852d66d7f79ea (commit)
      from  7af7aec7a3cdeeb926b6ef11d55ce5dd561c0f4c (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=1db485dbb1e039dd9753b4a5171852d66d7f79ea

commit 1db485dbb1e039dd9753b4a5171852d66d7f79ea
Author: Franck Villaume <[email protected]>
Date:   Sat Apr 25 19:07:25 2020 +0200

    fix phpunit 8 instanceof test

diff --git a/tests/func/SeleniumForge.php b/tests/func/SeleniumForge.php
index c514aa0..ba73dd5 100644
--- a/tests/func/SeleniumForge.php
+++ b/tests/func/SeleniumForge.php
@@ -609,11 +609,11 @@ class FForge_SeleniumTestCase extends 
PHPUnit\Extensions\Selenium2TestCase
        function isElementPresent($element) {
                try {
                        if (preg_match('/^\/\/[a-z]/', $element)) {
-                               if ($this->byXPath($element) instanceof 
PHPUnit_Extensions_Selenium2TestCase_Element) {
+                               if ($this->byXPath($element) instanceof 
PHPUnit\Extensions\Selenium2TestCase\Element) {
                                        return true;
                                }
                        } elseif (preg_match('/^link=/', $element)) {
-                               if ($this->byLinkText(substr($element, 5)) 
instanceof PHPUnit_Extensions_Selenium2TestCase_Element) {
+                               if ($this->byLinkText(substr($element, 5)) 
instanceof PHPUnit\Extensions\Selenium2TestCase\Element) {
                                        return true;
                                }
                        }

-----------------------------------------------------------------------

Summary of changes:
 tests/func/SeleniumForge.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
FusionForge

_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits

Reply via email to