[ticket/15171] Fix test

PHPBB3-15171
This commit is contained in:
Rubén Calvo 2017-10-02 16:29:53 +02:00
parent 3bfd006e77
commit a0ba57dc4f
2 changed files with 2 additions and 2 deletions

View file

@ -1360,7 +1360,7 @@ class acp_styles
$bitfield = new bitfield(); $bitfield = new bitfield();
for ($i = 0; $i < strlen($default_bitfield); $i++) for ($i = 0; $i < strlen($default_bitfield); $i++)
{ {
if($default_bitfield[$i] == '1') if ($default_bitfield[$i] == '1')
{ {
$bitfield->set($i); $bitfield->set($i);
} }

View file

@ -235,7 +235,7 @@ class phpbb_functional_posting_test extends phpbb_functional_test_case
)); ));
$crawler = self::submit($form); $crawler = self::submit($form);
$this->assertContains( $this->assertContains(
'<span style="font-weight: bold">My signature</span>', '<strong class="text-strong">My signature</strong>',
$crawler->filter('#preview .signature')->html() $crawler->filter('#preview .signature')->html()
); );
} }