polylang-cli/features/option.feature
2017-06-10 20:07:45 +02:00

17 lines
459 B
Gherkin

@pll-option
Feature: Manage Polylang settings
Background:
Given a WP install
And I run `wp plugin install polylang`
And I run `wp plugin activate polylang`
And I run `wp pll lang create Dutch nl nl_NL`
And I run `wp pll doctor translate`
Scenario: Get the default language code (slug)
When I run `wp pll option get default_lang`
Then STDOUT should contain:
"""
Success: The value of default_lang is nl
"""