1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-08 14:16:46 +02:00

feat(tests): update tests for Plugins #477

This commit is contained in:
Awilum
2020-11-03 20:03:29 +03:00
parent 242f0739ad
commit cb795da1aa

View File

@@ -7,8 +7,8 @@ use Atomastic\Strings\Strings;
beforeEach(function() {
// Create sandbox plugin
filesystem()->directory(PATH['project'])->create(0755, true);
filesystem()->directory(PATH['project'] . '/plugins')->create(0755, true);
filesystem()->directory(PATH['project'])->create();
filesystem()->directory(PATH['project'] . '/plugins')->create();
filesystem()->directory(PATH['project'] . '/plugins/sandbox')->create(0755, true);
filesystem()->directory(PATH['project'] . '/plugins/sandbox/lang/')->create(0755, true);
filesystem()->file(PATH['project'] . '/plugins/sandbox/lang/en_US.yaml')->put('sandbox_title: Sandbox');