From 03c4ce1cc3f780c77903165cf164de7aad5a3531 Mon Sep 17 00:00:00 2001 From: ldestailleur Date: Mon, 24 Mar 2025 21:44:57 +0100 Subject: [PATCH] Fix travis --- test/phpunit/AllTests.php | 2 ++ test/phpunit/{RestAPIMosTest.php => RestAPIMoTest.php} | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) rename test/phpunit/{RestAPIMosTest.php => RestAPIMoTest.php} (99%) diff --git a/test/phpunit/AllTests.php b/test/phpunit/AllTests.php index e819ee4e738..aec9835158d 100644 --- a/test/phpunit/AllTests.php +++ b/test/phpunit/AllTests.php @@ -258,6 +258,8 @@ class AllTests $suite->addTestSuite('RestAPIContactTest'); require_once dirname(__FILE__).'/RestAPIDocumentTest.php'; $suite->addTestSuite('RestAPIDocumentTest'); + require_once dirname(__FILE__).'/RestAPIMoTest.php'; + $suite->addTestSuite('RestAPIMoTest'); // Test only with php7.2 or less //if ((float) phpversion() < 7.3) diff --git a/test/phpunit/RestAPIMosTest.php b/test/phpunit/RestAPIMoTest.php similarity index 99% rename from test/phpunit/RestAPIMosTest.php rename to test/phpunit/RestAPIMoTest.php index 2860d27e809..5e7b53159be 100644 --- a/test/phpunit/RestAPIMosTest.php +++ b/test/phpunit/RestAPIMoTest.php @@ -36,7 +36,7 @@ require_once __DIR__."/AbstractRestAPITest.php"; * @backupStaticAttributes enabled * @remarks backupGlobals must be disabled to have db,conf,user and lang not erased. */ -class RestAPIMosTest extends AbstractRestAPITest +class RestAPIMoTest extends AbstractRestAPITest { /** *