diff --git a/e107_tests/tests/unit/e107_user_extendedTest.php b/e107_tests/tests/unit/e107_user_extendedTest.php
index 99d91c06f..1b6a43e12 100644
--- a/e107_tests/tests/unit/e107_user_extendedTest.php
+++ b/e107_tests/tests/unit/e107_user_extendedTest.php
@@ -354,9 +354,6 @@
$this->fixRegistry('before');
-
-
-
$sc = e107::getScBatch('signup');
$template = array(
@@ -364,14 +361,34 @@
'extended-user-fields' => "" // {EXTENDED_USER_FIELD_EDIT}
);
- $expected = "-- Category Name ---- Category Name 2 --";
+ $expected = array(
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "-- Category Name --",
+ "",
+ "",
+ "-- Category Name 2 --",
+ ""
+ );
$sc->template = $template;
$this->assertNotEmpty($sc->template);
$result = e107::getParser()->parseTemplate('{SIGNUP_EXTENDED_USER_FIELDS}', false, $sc);
- $this->assertSame($expected, $result);
+ foreach($expected as $exp)
+ {
+ $this->assertStringContainsString($exp, $result);
+ }
+
foreach($this->structRequired as $field=>$v)
{