Skip to content

Commit

Permalink
Merge pull request phpbb#1872 from nickvergessen/ticket/12017
Browse files Browse the repository at this point in the history
Ticket/12017 Extension tests are broken on current develop
  • Loading branch information
imkingdavid committed Nov 14, 2013
2 parents 52845b2 + 1e73e0c commit 8fd1f90
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 21 deletions.
2 changes: 2 additions & 0 deletions tests/functional/extension_controller_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ class phpbb_functional_extension_controller_test extends phpbb_functional_test_c
static protected $fixtures = array(
'foo/bar/config/',
'foo/bar/controller/',
'foo/bar/event/',
'foo/bar/language/en/',
'foo/bar/styles/prosilver/template/',
);

Expand Down
3 changes: 2 additions & 1 deletion tests/functional/extension_global_lang_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ class phpbb_functional_extension_global_lang_test extends phpbb_functional_test_
static private $helper;

static protected $fixtures = array(
'foo/bar/language/en/',
'foo/bar/config/',
'foo/bar/event/',
'foo/bar/language/en/',
);

static public function setUpBeforeClass()
Expand Down
3 changes: 2 additions & 1 deletion tests/functional/extension_permission_lang_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ class phpbb_functional_extension_permission_lang_test extends phpbb_functional_t
static private $helper;

static protected $fixtures = array(
'foo/bar/language/en/',
'foo/bar/config/',
'foo/bar/event/',
'foo/bar/language/en/',
);

static public function setUpBeforeClass()
Expand Down
2 changes: 1 addition & 1 deletion tests/functional/fixtures/ext/foo/bar/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
}],
"require": {
"php": ">=5.3",
"phpbb": "3.1.*@dev"
"phpbb/phpbb": "3.1.*@dev"
},
"extra": {
"display-name": "phpBB 3.1 Extension Testing"
Expand Down
9 changes: 0 additions & 9 deletions tests/functional/fixtures/ext/foo/bar/event/permission.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,6 @@

namespace foo\bar\event;

/**
* @ignore
*/

if (!defined('IN_PHPBB'))
{
exit;
}

/**
* Event listener
*/
Expand Down
9 changes: 0 additions & 9 deletions tests/functional/fixtures/ext/foo/bar/event/user_setup.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,6 @@

namespace foo\bar\event;

/**
* @ignore
*/

if (!defined('IN_PHPBB'))
{
exit;
}

/**
* Event listener
*/
Expand Down

0 comments on commit 8fd1f90

Please sign in to comment.