From 561c1981a39e09d22c241ffb9f4470e54c16b0b0 Mon Sep 17 00:00:00 2001 From: BadPixxel Date: Tue, 13 Oct 2020 03:29:22 +0200 Subject: [PATCH] FIX: Msf update Fields --- modules/splashsync/tests/L10MsfProductsTest.php | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/modules/splashsync/tests/L10MsfProductsTest.php b/modules/splashsync/tests/L10MsfProductsTest.php index a5ad14c2..31d33e00 100644 --- a/modules/splashsync/tests/L10MsfProductsTest.php +++ b/modules/splashsync/tests/L10MsfProductsTest.php @@ -45,6 +45,14 @@ class L10MsfProductsTest extends ObjectsCase */ public function testSetSingleFieldFromModule(string $testSequence, string $objectType, $field, $variant = false) { + //====================================================================// + // NOT in Msf Mode + if (is_null($field)) { + $this->assertTrue(true); + + return; + } + //====================================================================// // Load Test Sequence $this->loadLocalTestSequence($testSequence); @@ -134,7 +142,9 @@ public function objectMsfProductFieldsProvider() $sequences["[V]".$index]["3"] = true; } - return $sequences; + return empty($sequences) + ? $sequences + : array("Skip" => array("None", "Product", null)); } /**