HomeDevCentral

Avoid notices in database tests

Description

Avoid notices in database tests

This fixes the following issue:

  • notice when trying to read "errno" key
  • PHPUnit notice and "N" test status, when using createMock but not calling expect

Differential Revision: https://devcentral.nasqueron.org/D3880

Details

Provenance
derecksonAuthored on Tue, Nov 11, 18:08
derecksonPushed on Tue, Nov 11, 18:10
Differential Revision
D3880: Avoid notices in database tests
Parents
rKERUALD7f2085de6d74: Upgrade tests to PHPUnit 12
Branches
Unknown
Tags
Unknown
References
HEAD -> main
Tasks
T2188: Fix tests for PHPUnit 12