File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 66
77pest ()->extend (TestCase::class);
88
9- const TEST_FILES_DIRECTORY = __DIR__ . '/../__fixtures__ ' ;
10- const TAX_DIRECTORY = TEST_FILES_DIRECTORY . '/content/taxonomies ' ;
11- const TEST_TAX_BLUEPRINTS_DIRECTORY = TEST_FILES_DIRECTORY . '/resources/blueprints/taxonomies/test_tax ' ;
9+ const TEST_FILES_DIRECTORY = __DIR__ . '/../__fixtures__ ' ;
10+ const TAX_DIRECTORY = TEST_FILES_DIRECTORY . '/content/taxonomies ' ;
11+ const TEST_TAX_BLUEPRINTS_DIRECTORY = TEST_FILES_DIRECTORY . '/resources/blueprints/taxonomies/test_tax ' ;
1212
1313test ('taxonomy blueprints can be edited ' , function (): void {
1414
1818 && mkdir (TEST_TAX_BLUEPRINTS_DIRECTORY , recursive: true );
1919
2020 if (! $ created ) {
21- $ this ->fail ('Could not create test files directory (in ' . TEST_FILES_DIRECTORY . ') ' );
21+ $ this ->fail ('Could not create test files directory (in ' . TEST_FILES_DIRECTORY . ') ' );
2222 }
2323 }
2424
4343title: Test_Tax
4444TAXONOMY;
4545
46- file_put_contents (TAX_DIRECTORY . '/test_tax.yaml ' , $ test_tax );
47- file_put_contents (TEST_TAX_BLUEPRINTS_DIRECTORY . '/test_tax.yaml ' , $ test_tax_blueprint );
46+ file_put_contents (TAX_DIRECTORY . '/test_tax.yaml ' , $ test_tax );
47+ file_put_contents (TEST_TAX_BLUEPRINTS_DIRECTORY . '/test_tax.yaml ' , $ test_tax_blueprint );
4848
4949 // Create a new controller and attempt to edit the taxonomy blueprint with it
5050 (new TaxonomyBlueprintsController )->edit (Taxonomy::findByHandle ('test_tax ' ), 'test_tax ' );
You can’t perform that action at this time.
0 commit comments