Skip to content

Undefined offset #3

Closed
Closed
@bashkarev

Description

@bashkarev

PHP Notice: Undefined offset: 1 in .../vendor/mheap/phpunit-github-actions-printer/src/Printer.php on line 47

Throwable string return:

Failed asserting that two arrays are identical.
--- Expected
+++ Actual
@@ @@
 Array &0 (
     'id' => 1
     'state' => 'accreditationDraft'
-    'fullName' => null
-    'inn' => null
-    'kpp' => null
-    'email' => null
-    'legalAddress' => null
-    'actualAddress' => null
-    'specialization' => Array &1 ()
-    'documents' => Array &2 (
+    'documents' => Array &1 (
         'id' => 'value1'
         'name' => 'value2'
         'size' => 0
         'hash' => 'value3'
     )
-    'pictures' => Array &3 (
+    'pictures' => Array &2 (
         'id' => 'value4'
     )
+    'fullName' => null
+    'inn' => null
+    'kpp' => null
+    'email' => null
+    'legalAddress' => null
+    'actualAddress' => null
+    'specialization' => Array &3 ()
 )

.../AccreditationControllerTest.php:179

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions