Skip to content

Commit

Permalink
FIX: Msf update Fields
Browse files Browse the repository at this point in the history
  • Loading branch information
BadPixxel committed Oct 13, 2020
1 parent 7270a47 commit 561c198
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion modules/splashsync/tests/L10MsfProductsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -134,7 +142,9 @@ public function objectMsfProductFieldsProvider()
$sequences["[V]".$index]["3"] = true;
}

return $sequences;
return empty($sequences)
? $sequences
: array("Skip" => array("None", "Product", null));
}

/**
Expand Down

0 comments on commit 561c198

Please sign in to comment.