Skip to content

Commit 3fd628a

Browse files
authored
Fixing tests
1 parent e3f9b64 commit 3fd628a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

test/MenuStyleTest.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@
55
use PhpSchool\CliMenu\CliMenuBuilder;
66
use PhpSchool\CliMenu\Exception\InvalidInstantiationException;
77
use PhpSchool\CliMenu\MenuStyle;
8-
use PhpSchool\CliMenu\Terminal\TerminalInterface;
9-
use PhpSchool\CliMenu\Terminal\UnixTerminal;
8+
use PhpSchool\CliMenu\Util\ColourUtil;
9+
use PhpSchool\Terminal\Terminal;
10+
use PhpSchool\Terminal\UnixTerminal;
1011
use PHPUnit\Framework\MockObject\MockObject;
1112
use PHPUnit\Framework\TestCase;
1213

@@ -85,7 +86,7 @@ public function testAvailableColours() : void
8586
'cyan',
8687
'white',
8788
'default'
88-
], MenuStyle::getAvailableColours());
89+
], ColourUtil::getDefaultColoursNames());
8990
}
9091

9192
public function testGetColoursSetCode() : void

0 commit comments

Comments
 (0)