1
0
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:
Awilum
2020-10-18 20:52:56 +03:00
parent b00b9a142f
commit bcf4a73317

View File

@@ -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());
});