Skip to content

Commit

Permalink
[ticket/12962] Add facebook/webdriver dependency
Browse files Browse the repository at this point in the history
Create a new composer.json for tests dir and add
facebook/webdriver dependency

PHPBB3-12962
  • Loading branch information
dhruvgoel92 committed Sep 21, 2014
1 parent a1dff65 commit 77d5298
Show file tree
Hide file tree
Showing 4 changed files with 92 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@
/tests/phpbb_unit_tests.sqlite*
/tests/test_config*.php
/tests/tmp/*
/tests/vendor
24 changes: 24 additions & 0 deletions tests/composer.json
Original file line number Diff line number Diff line change
@@ -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": "[email protected]",
"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 changes: 66 additions & 0 deletions tests/composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tests/test_framework/phpbb_ui_test_case.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* 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';

class phpbb_ui_test_case extends phpbb_test_case
Expand Down

0 comments on commit 77d5298

Please sign in to comment.