File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ public function testDetectFalsyFunction()
16
16
$ sessionRegister = new DocPage (__DIR__ . '/../doc/doc-en/en/reference/session/functions/session-register.xml ' );
17
17
$ mcryptDecrypt = new DocPage (__DIR__ . '/../doc/doc-en/en/reference/mcrypt/functions/mcrypt-decrypt.xml ' );
18
18
$ fsockopen = new DocPage (__DIR__ . '/../doc/doc-en/en/reference/network/functions/fsockopen.xml ' );
19
+ $ arrayReplace = new DocPage (__DIR__ . '/../doc/doc-en/en/reference/array/functions/array-replace.xml ' );
19
20
20
21
$ this ->assertTrue ($ pregMatch ->detectFalsyFunction ());
21
22
$ this ->assertFalse ($ implode ->detectFalsyFunction ());
@@ -25,14 +26,17 @@ public function testDetectFalsyFunction()
25
26
$ this ->assertFalse ($ sessionRegister ->detectFalsyFunction ());
26
27
$ this ->assertTrue ($ mcryptDecrypt ->detectFalsyFunction ());
27
28
$ this ->assertTrue ($ fsockopen ->detectFalsyFunction ());
29
+ $ this ->assertFalse ($ arrayReplace ->detectFalsyFunction ());
28
30
}
29
31
30
32
public function testDetectNullsyFunction ()
31
33
{
32
34
$ pregMatch = new DocPage (__DIR__ . '/../doc/doc-en/en/reference/array/functions/array-flip.xml ' );
33
35
$ implode = new DocPage (__DIR__ . '/../doc/doc-en/en/reference/strings/functions/implode.xml ' );
36
+ $ arrayReplace = new DocPage (__DIR__ . '/../doc/doc-en/en/reference/array/functions/array-replace.xml ' );
34
37
35
38
$ this ->assertTrue ($ pregMatch ->detectNullsyFunction ());
36
39
$ this ->assertFalse ($ implode ->detectNullsyFunction ());
40
+ $ this ->assertTrue ($ arrayReplace ->detectNullsyFunction ());
37
41
}
38
42
}
You can’t perform that action at this time.
0 commit comments