File tree Expand file tree Collapse file tree 2 files changed +23
-37
lines changed Expand file tree Collapse file tree 2 files changed +23
-37
lines changed Original file line number Diff line number Diff line change @@ -20,42 +20,27 @@ public function testBulk()
20
20
$ output = $ this ->getActualOutputForAssertion ();
21
21
$ expected = <<< EOL
22
22
Start
23
- array(5) {
24
- ["tst_c00"]=>
25
- int(1)
26
- ["tst_c01"]=>
27
- string(1) "a"
28
- ["tst_c02"]=>
29
- string(1) "b"
30
- ["tst_c03"]=>
31
- string(2) "c1"
32
- ["tst_c04"]=>
33
- string(1) "d"
34
- }
35
- array(5) {
36
- ["tst_c00"]=>
37
- int(2)
38
- ["tst_c01"]=>
39
- string(1) "a"
40
- ["tst_c02"]=>
41
- string(1) "b"
42
- ["tst_c03"]=>
43
- string(2) "c2"
44
- ["tst_c04"]=>
45
- string(1) "d"
46
- }
47
- array(5) {
48
- ["tst_c00"]=>
49
- int(3)
50
- ["tst_c01"]=>
51
- string(1) "a"
52
- ["tst_c02"]=>
53
- string(1) "b"
54
- ["tst_c03"]=>
55
- string(2) "c3"
56
- ["tst_c04"]=>
57
- string(1) "d"
58
- }
23
+ array (
24
+ 'tst_c00' => 1,
25
+ 'tst_c01' => 'a',
26
+ 'tst_c02' => 'b',
27
+ 'tst_c03' => 'c1',
28
+ 'tst_c04' => 'd',
29
+ )
30
+ array (
31
+ 'tst_c00' => 2,
32
+ 'tst_c01' => 'a',
33
+ 'tst_c02' => 'b',
34
+ 'tst_c03' => 'c2',
35
+ 'tst_c04' => 'd',
36
+ )
37
+ array (
38
+ 'tst_c00' => 3,
39
+ 'tst_c01' => 'a',
40
+ 'tst_c02' => 'b',
41
+ 'tst_c03' => 'c3',
42
+ 'tst_c04' => 'd',
43
+ )
59
44
Stop
60
45
EOL ;
61
46
self ::assertSame (trim ($ expected ), trim ($ output ));
Original file line number Diff line number Diff line change @@ -16,7 +16,8 @@ class TestBulkHandler implements BulkHandler
16
16
*/
17
17
public function row (array $ row ): void
18
18
{
19
- var_dump ($ row );
19
+ var_export ($ row );
20
+ echo PHP_EOL ;
20
21
}
21
22
22
23
//--------------------------------------------------------------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments