Skip to content

Avoid PHP Warning, if a TestCase has no UseSessionItem configured #36

@sebastianneubert

Description

@sebastianneubert

This happens, if you switch off all UseSession items in a test case.

Build in a check, if the array has valid content or cast the given parameter to an array.

PHP Warning: Invalid argument supplied for foreach() in /livetest2/src/LiveTest/Config/Tags/TestSuite/UseSessions.php on line 13

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