Browse Source

Fix compat. with older phpunit

pull/9596/head
Aleksander Machniak 12 months ago
parent
commit
8eadd507f7
  1. 4
      tests/Actions/Mail/Index.php

4
tests/Actions/Mail/Index.php

@ -454,8 +454,8 @@ class Actions_Mail_Index extends ActionTestCase
$washed = \rcmail_action_mail_index::wash_html($html, $opts);
$this->assertStringContainsString('<div id="v1testid" class="v1testclass">', $washed);
$this->assertStringContainsString('<style type="text/css">#v1testid .v1testclass { color: red; } *.v1testclass { font-weight: bold; }</style>', $washed);
$this->assertTrue(strpos($washed, '<div id="v1testid" class="v1testclass">') !== false);
$this->assertTrue(strpos($washed, '<style type="text/css">#v1testid .v1testclass { color: red; } *.v1testclass { font-weight: bold; }</style>') !== false);
}
/**

Loading…
Cancel
Save