mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-30 05:24:28 +02:00
Made tests compatible with phpunit 8
The new simple-phpunit wrapper is selects the best phpunit version automatically and removes all the void return types if needed.
This commit is contained in:
parent
a62f947b86
commit
6405dee0ac
19 changed files with 19 additions and 37 deletions
|
@ -35,7 +35,7 @@ class TreeViewNodeTest extends TestCase
|
|||
*/
|
||||
protected $node2;
|
||||
|
||||
public function setUp()
|
||||
public function setUp() : void
|
||||
{
|
||||
$sub_nodes = [];
|
||||
$sub_nodes[] = new TreeViewNode('Subnode 1');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue