mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
Refactored test case.
Signed-off-by: Mark Story <mark@mark-story.com>
This commit is contained in:
parent
bb92a47ddb
commit
324b479b1c
1 changed files with 10 additions and 10 deletions
|
@ -175,8 +175,8 @@ class CakeTestCaseTest extends CakeTestCase {
|
|||
|
||||
$input = '<p><strong>' . $value . '</strong></p>';
|
||||
$pattern = array(
|
||||
'p' => array(),
|
||||
'strong' => array(),
|
||||
'<p',
|
||||
'<strong',
|
||||
$value,
|
||||
'/strong',
|
||||
'/p'
|
||||
|
@ -185,13 +185,13 @@ class CakeTestCaseTest extends CakeTestCase {
|
|||
|
||||
$input = '<p><strong>' . $value . '</strong></p><p><strong>' . $value . '</strong></p>';
|
||||
$pattern = array(
|
||||
array('p' => array()),
|
||||
array('strong' => array()),
|
||||
'<p',
|
||||
'<strong',
|
||||
$value,
|
||||
'/strong',
|
||||
'/p',
|
||||
array('p' => array()),
|
||||
array('strong' => array()),
|
||||
'<p',
|
||||
'<strong',
|
||||
$value,
|
||||
'/strong',
|
||||
'/p',
|
||||
|
@ -200,13 +200,13 @@ class CakeTestCaseTest extends CakeTestCase {
|
|||
|
||||
$input = '<p><strong>' . $value . '</strong></p><p id="' . $value . '"><strong>' . $value . '</strong></p>';
|
||||
$pattern = array(
|
||||
array('p' => array()),
|
||||
array('strong' => array()),
|
||||
'<p',
|
||||
'<strong',
|
||||
$value,
|
||||
'/strong',
|
||||
'/p',
|
||||
array('p' => array('id' => $value)),
|
||||
array('strong' => array()),
|
||||
'p' => array('id' => $value),
|
||||
'<strong',
|
||||
$value,
|
||||
'/strong',
|
||||
'/p',
|
||||
|
|
Loading…
Add table
Reference in a new issue