diff --git a/components/Blueprints/Tests/Unit/Validator/fixtures/valid/full-features.json b/components/Blueprints/Tests/Unit/Validator/fixtures/valid/full-features.json index 12ad46d72..ed611079d 100644 --- a/components/Blueprints/Tests/Unit/Validator/fixtures/valid/full-features.json +++ b/components/Blueprints/Tests/Unit/Validator/fixtures/valid/full-features.json @@ -9,7 +9,7 @@ "Test Author", "Another Author" ], - "authorUrl": "https://example.com", + "homepage": "https://example.com", "donateLink": "https://example.com/donate", "tags": [ "test", @@ -129,11 +129,9 @@ ], "additionalStepsAfterExecution": [ { - "step": "writeFile", - "path": "wp-content/uploads/custom-file.txt", - "content": { - "filename": "custom-file.txt", - "content": "This is a custom file created by the Blueprint." + "step": "writeFiles", + "files": { + "wp-content/uploads/custom-file.txt": "This is a custom file created by the Blueprint." } }, { diff --git a/components/Blueprints/Tests/Unit/Validator/fixtures/valid/with-additional-steps.json b/components/Blueprints/Tests/Unit/Validator/fixtures/valid/with-additional-steps.json index ea815eec4..d5d48e00b 100644 --- a/components/Blueprints/Tests/Unit/Validator/fixtures/valid/with-additional-steps.json +++ b/components/Blueprints/Tests/Unit/Validator/fixtures/valid/with-additional-steps.json @@ -22,7 +22,7 @@ }, { "step": "activateTheme", - "themeFolderName": "twentytwentythree" + "themeDirectoryName": "twentytwentythree" }, { "step": "cp", @@ -32,18 +32,16 @@ { "step": "defineConstants", "constants": { - "WP_DEBUG": "true", - "SCRIPT_DEBUG": "false" + "WP_DEBUG": true, + "SCRIPT_DEBUG": false } }, { "step": "installPlugin", - "plugin": { - "source": "jetpack", - "active": true, - "activationOptions": { - "mode": "development" - } + "source": "jetpack", + "active": true, + "activationOptions": { + "mode": "development" } }, { @@ -58,9 +56,10 @@ } }, { - "step": "writeFile", - "path": "/path/to/file.txt", - "content": "Hello World" + "step": "writeFiles", + "files": { + "/path/to/file.txt": "Hello World" + } } ] } diff --git a/components/Blueprints/Tests/Unit/Validator/fixtures/valid/with-post-types.json b/components/Blueprints/Tests/Unit/Validator/fixtures/valid/with-post-types.json index 8a98f2747..5608084ff 100644 --- a/components/Blueprints/Tests/Unit/Validator/fixtures/valid/with-post-types.json +++ b/components/Blueprints/Tests/Unit/Validator/fixtures/valid/with-post-types.json @@ -54,7 +54,10 @@ } ], [ - "core/paragraph" + "core/paragraph", + { + "content": "This is a sample book." + } ] ], "template_lock": "all" diff --git a/components/Blueprints/Tests/Unit/Validator/fixtures/valid/with-steps.json b/components/Blueprints/Tests/Unit/Validator/fixtures/valid/with-steps.json index 96b9d4781..0d5d17ce4 100644 --- a/components/Blueprints/Tests/Unit/Validator/fixtures/valid/with-steps.json +++ b/components/Blueprints/Tests/Unit/Validator/fixtures/valid/with-steps.json @@ -22,7 +22,7 @@ }, { "step": "activateTheme", - "themeFolderName": "twentytwentythree" + "themeDirectoryName": "twentytwentythree" }, { "step": "cp", @@ -38,12 +38,12 @@ }, { "step": "installPlugin", - "plugin": "woocommerce" + "source": "woocommerce" }, { "step": "installTheme", "source": "twentytwentyfour", - "activate": true, + "active": true, "importStarterContent": true }, { @@ -68,7 +68,7 @@ "code": "echo 'Hello, World!';" }, { - "step": "runSql", + "step": "runSQL", "source": "./custom-queries.sql" }, { @@ -92,11 +92,9 @@ "command": "plugin list --format=json" }, { - "step": "writeFile", - "path": "wp-content/uploads/new-file.txt", - "content": { - "filename": "content.txt", - "content": "This is the content of the file." + "step": "writeFiles", + "files": { + "wp-content/uploads/new-file.txt": "Content of file." } }, {