Skip to content

Commit

Permalink
fix(ci): phpunit deprecation error
Browse files Browse the repository at this point in the history
- With PHP 8.1 passing null as the second param to explode() is deprecated

Signed-off-by: Christopher Ng <[email protected]>
  • Loading branch information
Pytal committed Aug 15, 2023
1 parent e5731a6 commit b31fd7e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/Controller/WizardControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,10 @@ public function dataDisable() {
* @param string $user
*/
public function testDisable($user) {
$this->config->expects($this->at(0))
->method('getAppValue')
->willReturn('video,values,apps,clients,final');

$controller = $this->getController($user);

$this->config->expects($this->once())
Expand Down

0 comments on commit b31fd7e

Please sign in to comment.