mirror of
https://gh.wpcy.net/https://github.com/diggy/polylang-cli.git
synced 2026-04-25 09:25:36 +08:00
17 lines
416 B
Gherkin
17 lines
416 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 be:
|
|
"""
|
|
nl
|
|
"""
|