Skip to content
Snippets Groups Projects
  • Michael Hamann's avatar
    0c313f78
    Always load the parser in the test environment · 0c313f78
    Michael Hamann authored
    This fixes the problem that $PARSER_MODES was sometimes unset by PHPUnit
    between test functions that called p_get_parsermodes() as PHPUnit tried
    to restore the global environment. I couldn't reproduce this when I
    executed all tests but just when I executed a single plugin test.
    0c313f78
    History
    Always load the parser in the test environment
    Michael Hamann authored
    This fixes the problem that $PARSER_MODES was sometimes unset by PHPUnit
    between test functions that called p_get_parsermodes() as PHPUnit tried
    to restore the global environment. I couldn't reproduce this when I
    executed all tests but just when I executed a single plugin test.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.