diff --git a/composer.json b/composer.json index 2fa0ac6..2178fd5 100644 --- a/composer.json +++ b/composer.json @@ -12,7 +12,7 @@ }, "require-dev": { "codeception/codeception": "~2.3", - "joomla-projects/joomla-browser": "~v3", + "joomla-projects/joomla-browser": "dev-container-test", "joomla-projects/selenium-server-standalone": "~v3", "consolidation/robo": "^1.0.0", "joomla-projects/joomla-testing-robo": "^1.0.0", diff --git a/composer.lock b/composer.lock index 0c68bc7..829446c 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "This file is @generated automatically" ], - "content-hash": "eaf5e5dfb6cdd2669e19e9c9ff965c70", + "content-hash": "238fa1dad062796cbe6d177badb84e82", "packages": [], "packages-dev": [ { @@ -422,16 +422,16 @@ }, { "name": "consolidation/output-formatters", - "version": "3.1.10", + "version": "3.1.11", "source": { "type": "git", "url": "https://github.com/consolidation/output-formatters.git", - "reference": "3872f19517bfc9da0e14c9e5b6fe0f8c7439ea3a" + "reference": "3a1160440819269e6d8d9c11db67129384b8fb35" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/consolidation/output-formatters/zipball/3872f19517bfc9da0e14c9e5b6fe0f8c7439ea3a", - "reference": "3872f19517bfc9da0e14c9e5b6fe0f8c7439ea3a", + "url": "https://api.github.com/repos/consolidation/output-formatters/zipball/3a1160440819269e6d8d9c11db67129384b8fb35", + "reference": "3a1160440819269e6d8d9c11db67129384b8fb35", "shasum": "" }, "require": { @@ -467,7 +467,7 @@ } ], "description": "Format text by applying transformations provided by plug-in formatters.", - "time": "2017-06-06T19:08:54+00:00" + "time": "2017-08-17T22:11:07+00:00" }, { "name": "consolidation/robo", @@ -746,29 +746,31 @@ }, { "name": "fzaninotto/faker", - "version": "v1.6.0", + "version": "v1.7.1", "source": { "type": "git", "url": "https://github.com/fzaninotto/Faker.git", - "reference": "44f9a286a04b80c76a4e5fb7aad8bb539b920123" + "reference": "d3ed4cc37051c1ca52d22d76b437d14809fc7e0d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/fzaninotto/Faker/zipball/44f9a286a04b80c76a4e5fb7aad8bb539b920123", - "reference": "44f9a286a04b80c76a4e5fb7aad8bb539b920123", + "url": "https://api.github.com/repos/fzaninotto/Faker/zipball/d3ed4cc37051c1ca52d22d76b437d14809fc7e0d", + "reference": "d3ed4cc37051c1ca52d22d76b437d14809fc7e0d", "shasum": "" }, "require": { - "php": "^5.3.3|^7.0" + "php": "^5.3.3 || ^7.0" }, "require-dev": { "ext-intl": "*", - "phpunit/phpunit": "~4.0", - "squizlabs/php_codesniffer": "~1.5" + "phpunit/phpunit": "^4.0 || ^5.0", + "squizlabs/php_codesniffer": "^1.5" }, "type": "library", "extra": { - "branch-alias": [] + "branch-alias": { + "dev-master": "1.8-dev" + } }, "autoload": { "psr-4": { @@ -790,7 +792,7 @@ "faker", "fixtures" ], - "time": "2016-04-29T12:21:54+00:00" + "time": "2017-08-15T16:48:10+00:00" }, { "name": "grasmash/yaml-expander", @@ -1157,16 +1159,16 @@ }, { "name": "joomla-projects/joomla-browser", - "version": "v3.7.4", + "version": "dev-container-test", "source": { "type": "git", "url": "https://github.com/joomla-projects/joomla-browser.git", - "reference": "2ba09f2d12cb4c2708101a5ffbcbb261a445cbc1" + "reference": "4744a89f2f27745024aba4f063e6b99eabf89c7a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/joomla-projects/joomla-browser/zipball/2ba09f2d12cb4c2708101a5ffbcbb261a445cbc1", - "reference": "2ba09f2d12cb4c2708101a5ffbcbb261a445cbc1", + "url": "https://api.github.com/repos/joomla-projects/joomla-browser/zipball/4744a89f2f27745024aba4f063e6b99eabf89c7a", + "reference": "4744a89f2f27745024aba4f063e6b99eabf89c7a", "shasum": "" }, "require": { @@ -1174,7 +1176,7 @@ "php": ">=5.5.9" }, "require-dev": { - "joomla-projects/joomla-testing-robo": "~1.0" + "joomla-projects/joomla-testing-robo": "dev-container-test" }, "type": "library", "autoload": { @@ -1204,7 +1206,7 @@ "acceptance testing", "joomla" ], - "time": "2017-07-31T13:55:52+00:00" + "time": "2017-08-23T15:19:58+00:00" }, { "name": "joomla-projects/joomla-testing-robo", @@ -3493,16 +3495,16 @@ }, { "name": "symfony/polyfill-mbstring", - "version": "v1.4.0", + "version": "v1.5.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "f29dca382a6485c3cbe6379f0c61230167681937" + "reference": "7c8fae0ac1d216eb54349e6a8baa57d515fe8803" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/f29dca382a6485c3cbe6379f0c61230167681937", - "reference": "f29dca382a6485c3cbe6379f0c61230167681937", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/7c8fae0ac1d216eb54349e6a8baa57d515fe8803", + "reference": "7c8fae0ac1d216eb54349e6a8baa57d515fe8803", "shasum": "" }, "require": { @@ -3514,7 +3516,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.4-dev" + "dev-master": "1.5-dev" } }, "autoload": { @@ -3548,20 +3550,20 @@ "portable", "shim" ], - "time": "2017-06-09T14:24:12+00:00" + "time": "2017-06-14T15:44:48+00:00" }, { "name": "symfony/polyfill-php55", - "version": "v1.4.0", + "version": "v1.5.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php55.git", - "reference": "94566239a7720cde0820f15f0cc348ddb51ba51d" + "reference": "29b1381d66f16e0581aab0b9f678ccf073288f68" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php55/zipball/94566239a7720cde0820f15f0cc348ddb51ba51d", - "reference": "94566239a7720cde0820f15f0cc348ddb51ba51d", + "url": "https://api.github.com/repos/symfony/polyfill-php55/zipball/29b1381d66f16e0581aab0b9f678ccf073288f68", + "reference": "29b1381d66f16e0581aab0b9f678ccf073288f68", "shasum": "" }, "require": { @@ -3571,7 +3573,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.4-dev" + "dev-master": "1.5-dev" } }, "autoload": { @@ -3604,7 +3606,7 @@ "portable", "shim" ], - "time": "2017-06-09T08:25:21+00:00" + "time": "2017-06-14T15:44:48+00:00" }, { "name": "symfony/process", @@ -3763,7 +3765,9 @@ ], "aliases": [], "minimum-stability": "stable", - "stability-flags": [], + "stability-flags": { + "joomla-projects/joomla-browser": 20 + }, "prefer-stable": false, "prefer-lowest": false, "platform": { diff --git a/tests/_data/pkg-weblinks-current.zip b/tests/_data/pkg-weblinks-current.zip new file mode 100644 index 0000000..00ea7b2 Binary files /dev/null and b/tests/_data/pkg-weblinks-current.zip differ diff --git a/tests/acceptance/install/InstallWeblinksCest.php b/tests/acceptance/install/InstallWeblinksCest.php index 4be24d4..6d839cd 100644 --- a/tests/acceptance/install/InstallWeblinksCest.php +++ b/tests/acceptance/install/InstallWeblinksCest.php @@ -12,7 +12,7 @@ class InstallWeblinksCest { public function installJoomla(\AcceptanceTester $I) { - + $I->doAdministratorLogin(); } /** @@ -20,13 +20,10 @@ class InstallWeblinksCest */ public function installWeblinks(\AcceptanceTester $I) { - $I->doAdministratorLogin(); $I->comment('get Weblinks repository folder from acceptance.suite.yml (see _support/AcceptanceHelper.php)'); // URL where the package file to install is located (mostly the same as joomla-cms) - $url = $I->getSuiteConfiguration('url'); - $I->installExtensionFromUrl($url . "/pkg-weblinks-current.zip"); + $I->installExtensionFromFileUpload('pkg-weblinks-current.zip'); $I->doAdministratorLogout(); } - }