diff options
Diffstat (limited to 'tests/functional')
-rw-r--r-- | tests/functional/extension_acp_test.php | 9 | ||||
-rw-r--r-- | tests/functional/fixtures/ext/foo/bar/composer.json | 5 |
2 files changed, 7 insertions, 7 deletions
diff --git a/tests/functional/extension_acp_test.php b/tests/functional/extension_acp_test.php index 8614c0c963..401b18f11c 100644 --- a/tests/functional/extension_acp_test.php +++ b/tests/functional/extension_acp_test.php @@ -104,15 +104,16 @@ class phpbb_functional_extension_acp_test extends phpbb_functional_test_case $validation = array( 'DISPLAY_NAME' => 'phpBB Foo Extension', 'CLEAN_NAME' => 'foo/example', + 'TYPE' => 'phpbb-extension', 'DESCRIPTION' => 'An example/sample extension to be used for testing purposes in phpBB Development.', 'VERSION' => '1.0.0', 'TIME' => '2012-02-15 01:01:01', 'LICENCE' => 'GPL-2.0', - 'PHPBB_VERSION' => '3.1.0-dev', + 'PHPBB_VERSION' => '3.1.*@dev', 'PHP_VERSION' => '>=5.3', - 'AUTHOR_NAME' => 'Nathan Guse', + 'AUTHOR_NAME' => 'John Smith', 'AUTHOR_EMAIL' => 'email@phpbb.com', - 'AUTHOR_HOMEPAGE' => 'http://lithiumstudios.org', + 'AUTHOR_HOMEPAGE' => 'http://phpbb.com', 'AUTHOR_ROLE' => 'N/A', ); @@ -184,4 +185,4 @@ class phpbb_functional_extension_acp_test extends phpbb_functional_test_case $crawler = self::request('GET', 'adm/index.php?i=acp_extensions&mode=main&action=purge&ext_name=vendor%2Fmoo&sid=' . $this->sid); $this->assertContainsLang('PURGE_SUCCESS', $crawler->filter('html')->text()); } -}
\ No newline at end of file +} diff --git a/tests/functional/fixtures/ext/foo/bar/composer.json b/tests/functional/fixtures/ext/foo/bar/composer.json index 067a9d38eb..cb9dbc9514 100644 --- a/tests/functional/fixtures/ext/foo/bar/composer.json +++ b/tests/functional/fixtures/ext/foo/bar/composer.json @@ -1,6 +1,6 @@ { "name": "foo/bar", - "type": "phpbb3-extension", + "type": "phpbb-extension", "description": "Testing extensions", "homepage": "", "version": "1.0.0", @@ -8,14 +8,13 @@ "licence": "GPL-2.0", "authors": [{ "name": "Joas Schilling", - "username": "nickvergessen", "email": "nickvergessen@phpbb.com", "homepage": "http://www.phpbb.com", "role": "Developer" }], "require": { "php": ">=5.3", - "phpbb": ">=3.1.0-dev" + "phpbb": "3.1.*@dev" }, "extra": { "display-name": "phpBB 3.1 Extension Testing" |