assertEquals($expectedWikiText, $actualWikiText, $msg); } $this->assertEquals($expectedValidationErrors, $actualValidationErrors, $msg); } public function test_field_time_render() { $formSyntax = 'hidden hiddenLabel "=default value of the hidden field"'; $instr = p_get_instructions("
"); $actualHTML = p_render('xhtml', $instr, $info); $hiddenFormPrefix = ''; $expectedHTML = "$hiddenFormPrefix$expectedFieldHTML$hiddenFormSuffix"; $this->assertEquals(trim($expectedHTML), trim($actualHTML)); } }