Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move To Github Actions #265

Merged
merged 17 commits into from
Jan 14, 2021
Prev Previous commit
Next Next commit
fix snippet params
  • Loading branch information
solverat committed Jan 6, 2021
commit 42e19049c5f32c1126ae4d48a34531dcbf3ea2e1
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public function testElementChangeSuccessMessageToSimpleText(AcceptanceTester $I)
*/
public function testElementChangeSuccessMessageToSnippet(AcceptanceTester $I)
{
$snippet = $I->haveASnippet('mail-success-snippet');
$snippet = $I->haveASnippet('mail-success-snippet', ['controller' => 'default', 'action' => 'snippet']);

$actions = [
[
Expand Down Expand Up @@ -81,8 +81,8 @@ public function testElementChangeSuccessMessageToSnippet(AcceptanceTester $I)
*/
public function testElementChangeSuccessMessageToSnippetWithAnotherLocale(AcceptanceTester $I)
{
$snippetEn = $I->haveASnippet('mail-success-snippet-en');
$snippetDe = $I->haveASnippet('mail-success-snippet-de', [], 'de');
$snippetEn = $I->haveASnippet('mail-success-snippet-en', ['controller' => 'default', 'action' => 'snippet']);
$snippetDe = $I->haveASnippet('mail-success-snippet-de', ['controller' => 'default', 'action' => 'snippet'], 'de');

$actions = [
[
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public function testSuccessFullySentPropertyWithString(AcceptanceTester $I)
*/
public function testSuccessFullySentPropertyWithSnippet(AcceptanceTester $I)
{
$snippet = $I->haveASnippet('mail-success-snippet');
$snippet = $I->haveASnippet('mail-success-snippet', ['controller' => 'default', 'action' => 'snippet']);

$property = new Property();
$property->setName('mail_successfully_sent');
Expand Down
4 changes: 2 additions & 2 deletions tests/functional/Fields/SnippetFieldCest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class SnippetFieldCest extends AbstractFieldCest
*/
public function testSnippetField(FunctionalTester $I)
{
$snippet = $I->haveASnippet('form-element-snippet');
$snippet = $I->haveASnippet('form-element-snippet', ['controller' => 'default', 'action' => 'snippet']);

$options = [
'path' => [
Expand All @@ -42,7 +42,7 @@ public function testSnippetField(FunctionalTester $I)
*/
public function testSnippetFieldSubmission(FunctionalTester $I)
{
$snippet = $I->haveASnippet('form-element-snippet');
$snippet = $I->haveASnippet('form-element-snippet', ['controller' => 'default', 'action' => 'snippet']);

$options = [
'path' => [
Expand Down