mirror of
https://github.com/flextype/flextype.git
synced 2025-08-08 14:16:46 +02:00
feat(tests): update tests #477
This commit is contained in:
@@ -6,14 +6,6 @@ use Flextype\Foundation\Flextype;
|
||||
use Flextype\Foundation\Entries\Entries;
|
||||
use Atomastic\Strings\Strings;
|
||||
|
||||
beforeEach(function() {
|
||||
filesystem()->directory(PATH['project'] . '/entries')->create();
|
||||
});
|
||||
|
||||
afterEach(function (): void {
|
||||
filesystem()->directory(PATH['project'] . '/entries')->delete();
|
||||
});
|
||||
|
||||
test('test getVersion() method', function () {
|
||||
$this->assertTrue(!Strings::create(flextype()->getVersion())->isEmpty());
|
||||
});
|
||||
|
Reference in New Issue
Block a user