@@ -107,7 +107,7 @@ |
||
107 | 107 | /** |
108 | 108 | * Used for preview controls, mainly links which switch between different states of the page. |
109 | 109 | * |
110 | - * @return ArrayData |
|
110 | + * @return SilverStripe\Model\FieldType\DBField |
|
111 | 111 | */ |
112 | 112 | public function getSilverStripeNavigator() |
113 | 113 | { |
@@ -2,9 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace SilverStripe\Siteconfig\Test\Behaviour; |
4 | 4 | |
5 | -use SilverStripe\BehatExtension\Context\SilverStripeContext; |
|
6 | -use SilverStripe\BehatExtension\Context\BasicContext; |
|
7 | -use SilverStripe\BehatExtension\Context\LoginContext; |
|
8 | 5 | use SilverStripe\BehatExtension\Context\FixtureContext; |
9 | 6 | use SilverStripe\Cms\Test\Behaviour; |
10 | 7 |
@@ -54,6 +54,9 @@ discard block |
||
54 | 54 | $this->requireFile(BASE_PATH . '/themes/' . $theme . '/templates/' . $template, $content); |
55 | 55 | } |
56 | 56 | |
57 | + /** |
|
58 | + * @param string $filename |
|
59 | + */ |
|
57 | 60 | protected function requireFile($filename, $content) |
58 | 61 | { |
59 | 62 | // Already exists |
@@ -71,6 +74,9 @@ discard block |
||
71 | 74 | } |
72 | 75 | } |
73 | 76 | |
77 | + /** |
|
78 | + * @param string $dirname |
|
79 | + */ |
|
74 | 80 | protected function requireDir($dirname) |
75 | 81 | { |
76 | 82 | // Directory doesn't exist, create it and mark it for deletion |
@@ -2,15 +2,7 @@ |
||
2 | 2 | |
3 | 3 | namespace SilverStripe\Siteconfig\Test\Behaviour; |
4 | 4 | |
5 | -use Behat\Behat\Context\ClosuredContextInterface; |
|
6 | -use Behat\Behat\Context\TranslatedContextInterface; |
|
7 | 5 | use Behat\Behat\Context\BehatContext; |
8 | -use Behat\Behat\Context\Step; |
|
9 | -use Behat\Behat\Event\StepEvent; |
|
10 | -use Behat\Behat\Exception\PendingException; |
|
11 | -use Behat\Mink\Driver\Selenium2Driver; |
|
12 | -use Behat\Gherkin\Node\PyStringNode; |
|
13 | -use Behat\Gherkin\Node\TableNode; |
|
14 | 6 | |
15 | 7 | /** |
16 | 8 | * Context used to create fixtures in the SilverStripe ORM. |