From 752abd444729ddc7785939f6eb1543c8670f2a9e Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Tue, 11 Nov 2014 15:59:24 +1300 Subject: [PATCH] Note about publication state on child pages --- README.md | 1 + src/SilverStripe/BehatExtension/Context/FixtureContext.php | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ac4e1fe..776033d 100644 --- a/README.md +++ b/README.md @@ -638,6 +638,7 @@ It's based on the `vendor/bin/behat -di @cms` output. Given /^(?:(an|a|the) )"(?[^"]+)" "(?[^"]+)" is a (?[^\s]*) of (?:(an|a|the) )"(?[^"]+)" "(?[^"]+)"/ - Example: Given the "page" "Page 1.1" is a child of the "page" "Page1" + Note that this change is not published by default Given /^(?:(an|a|the) )"(?[^"]+)" "(?[^"]+)" is (?[^"]*)$/ - Example: Given the "page" "Page 1" is not published diff --git a/src/SilverStripe/BehatExtension/Context/FixtureContext.php b/src/SilverStripe/BehatExtension/Context/FixtureContext.php index d5ee003..01f82f7 100644 --- a/src/SilverStripe/BehatExtension/Context/FixtureContext.php +++ b/src/SilverStripe/BehatExtension/Context/FixtureContext.php @@ -189,7 +189,8 @@ class FixtureContext extends BehatContext } /** - * Example: Given the "page" "Page 1.1" is a child of the "page" "Page1" + * Example: Given the "page" "Page 1.1" is a child of the "page" "Page1". + * Note that this change is not published by default * * @Given /^(?:(an|a|the) )"(?[^"]+)" "(?[^"]+)" is a (?[^\s]*) of (?:(an|a|the) )"(?[^"]+)" "(?[^"]+)"/ */