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:
@@ -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');
|
||||
|
Reference in New Issue
Block a user