mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 20:38:52 +00:00
[ticket/12962] Add facebook/webdriver dependency
Create a new composer.json for tests dir and add facebook/webdriver dependency PHPBB3-12962
This commit is contained in:
parent
a1dff65cd1
commit
77d52982c8
4 changed files with 92 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -21,3 +21,4 @@
|
||||||
/tests/phpbb_unit_tests.sqlite*
|
/tests/phpbb_unit_tests.sqlite*
|
||||||
/tests/test_config*.php
|
/tests/test_config*.php
|
||||||
/tests/tmp/*
|
/tests/tmp/*
|
||||||
|
/tests/vendor
|
||||||
|
|
24
tests/composer.json
Normal file
24
tests/composer.json
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
{
|
||||||
|
"name": "phpbb/phpbb",
|
||||||
|
"description": "phpBB Forum Software application",
|
||||||
|
"type": "project",
|
||||||
|
"keywords": ["phpbb", "forum"],
|
||||||
|
"homepage": "https://www.phpbb.com",
|
||||||
|
"license": "GPL-2.0",
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "phpBB Limited",
|
||||||
|
"email": "operations@phpbb.com",
|
||||||
|
"homepage": "https://www.phpbb.com/go/authors"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"support": {
|
||||||
|
"issues": "https://tracker.phpbb.com",
|
||||||
|
"forum": "https://www.phpbb.com/community/",
|
||||||
|
"wiki": "https://wiki.phpbb.com",
|
||||||
|
"irc": "irc://irc.freenode.org/phpbb"
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"facebook/webdriver": "dev-master"
|
||||||
|
}
|
||||||
|
}
|
66
tests/composer.lock
generated
Normal file
66
tests/composer.lock
generated
Normal file
|
@ -0,0 +1,66 @@
|
||||||
|
{
|
||||||
|
"_readme": [
|
||||||
|
"This file locks the dependencies of your project to a known state",
|
||||||
|
"Read more about it at http://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file"
|
||||||
|
],
|
||||||
|
"hash": "2affca245bd4946ca7acdf46f100af3c",
|
||||||
|
"packages": [
|
||||||
|
|
||||||
|
],
|
||||||
|
"packages-dev": [
|
||||||
|
{
|
||||||
|
"name": "facebook/webdriver",
|
||||||
|
"version": "dev-master",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/facebook/php-webdriver.git",
|
||||||
|
"reference": "b6e002e5bf811a8edba393ce6872322c1b7cf796"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://api.github.com/repos/facebook/php-webdriver/zipball/b6e002e5bf811a8edba393ce6872322c1b7cf796",
|
||||||
|
"reference": "b6e002e5bf811a8edba393ce6872322c1b7cf796",
|
||||||
|
"shasum": ""
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"php": ">=5.3.19"
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"phpdocumentor/phpdocumentor": "2.*",
|
||||||
|
"phpunit/phpunit": "3.7.*"
|
||||||
|
},
|
||||||
|
"type": "library",
|
||||||
|
"autoload": {
|
||||||
|
"classmap": [
|
||||||
|
"lib/"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"notification-url": "http://packagist.org/downloads/",
|
||||||
|
"license": [
|
||||||
|
"Apache-2.0"
|
||||||
|
],
|
||||||
|
"description": "A php client for WebDriver",
|
||||||
|
"homepage": "https://github.com/facebook/php-webdriver",
|
||||||
|
"keywords": [
|
||||||
|
"facebook",
|
||||||
|
"php",
|
||||||
|
"selenium",
|
||||||
|
"webdriver"
|
||||||
|
],
|
||||||
|
"time": "2014-08-05 02:55:46"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"aliases": [
|
||||||
|
|
||||||
|
],
|
||||||
|
"minimum-stability": "stable",
|
||||||
|
"stability-flags": {
|
||||||
|
"facebook/webdriver": 20
|
||||||
|
},
|
||||||
|
"platform": [
|
||||||
|
|
||||||
|
],
|
||||||
|
"platform-dev": [
|
||||||
|
|
||||||
|
]
|
||||||
|
}
|
|
@ -10,7 +10,7 @@
|
||||||
* the docs/CREDITS.txt file.
|
* the docs/CREDITS.txt file.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
require_once __DIR__ . '/../../phpBB/vendor/facebook/webdriver/lib/__init__.php';
|
require_once __DIR__ . '/../vendor/facebook/webdriver/lib/__init__.php';
|
||||||
require_once __DIR__ . '/../../phpBB/includes/functions_install.php';
|
require_once __DIR__ . '/../../phpBB/includes/functions_install.php';
|
||||||
|
|
||||||
class phpbb_ui_test_case extends phpbb_test_case
|
class phpbb_ui_test_case extends phpbb_test_case
|
||||||
|
|
Loading…
Add table
Reference in a new issue