Skip to content

Commit

Permalink
OPENEUROPA-1500: Name path for behat.
Browse files Browse the repository at this point in the history
  • Loading branch information
nagyad committed Jan 11, 2019
1 parent 8a0d469 commit 623fe57
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions behat.yml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ default:
- Drupal\DrupalExtension\Context\MessageContext
- Drupal\Tests\oe_webtools\Behat\WebtoolsAnalyticsMinkContext
- Drupal\Tests\oe_webtools\Behat\WebtoolsConfigContext
- OpenEuropa\Behat\TransformationContext:
pages:
Webtools Analytics configuration: '/admin/config/system/oe_webtools_analytics'
extensions:
Behat\MinkExtension:
goutte: ~
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class WebtoolsAnalyticsSettingsForm extends ConfigFormBase {
/**
* Name of the config being edited.
*/
const CONFIGNAME = 'oe_webtools_analytics.settings';
const CONFIG_NAME = 'oe_webtools_analytics.settings';

/**
* {@inheritdoc}
Expand Down
2 changes: 1 addition & 1 deletion tests/features/analytics.feature
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Feature: Webtools Analytics
@BackupAnalyticsConfigs
Scenario: Create Webtools Analytics settings
Given I am logged in as a user with the "administer webtools analytics" permission
And I am on "admin/config/system/oe_webtools_analytics"
And I am on "the Webtools Analytics configuration page"
Then I should see "Webtools Analytics settings"
When I fill in "Site ID" with "123456"
And I fill in "Site path" with "ec.europa.eu/info"
Expand Down

0 comments on commit 623fe57

Please sign in to comment.