-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
27 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,14 +21,14 @@ For others requirements please see the [composer.json](composer.json) file. | |
"type": "vcs", | ||
"url": "[email protected]:rstgroup/behat-oauth2-context.git" | ||
} | ||
} | ||
] | ||
``` | ||
|
||
2. Run `composer update rstgroup/behat-oauth2-context` to ensure the library is installed. | ||
|
||
## Configuration | ||
|
||
Copy behat.yml.dist file as behat.yml to your home project directory or copy contents from this file to your yml file with Behat tests. | ||
Copy `behat.yml.dist` file as `behat.yml` to your home project directory or copy contents from this file to your yml file with Behat tests. | ||
You must replace sample content to right option: | ||
```php | ||
paths: | ||
|
@@ -41,8 +41,8 @@ for example: | |
- %paths.base%/vendor/rstgroup/behat-oauth2-context/features/ | ||
``` | ||
And next you must replace parameters option: | ||
- token_url - your url to token | ||
- oauth2 - your data for OAuth2 authorization | ||
- `token_url` - your url to token | ||
- `oauth2` - your data for OAuth2 authorization | ||
|
||
### Recommended and optional parameters | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters