diff options
author | Julius Härtl <jus@bitgrid.net> | 2019-12-27 18:57:48 +0300 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2020-01-07 16:49:46 +0300 |
commit | 7f3e9e5e210b6627d2e7601d39b2509ec45c8c45 (patch) | |
tree | 6db06d48ee848e3323e8926ba1526a4422f2ad2a /tests | |
parent | 478d24cc7559e2aa96325d3fcd147976b3c80c8c (diff) |
Use release package for behat helpers
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/composer.json | 2 | ||||
-rw-r--r-- | tests/composer.lock | 16 | ||||
-rw-r--r-- | tests/features/bootstrap/NextcloudTrait.php | 30 |
3 files changed, 8 insertions, 40 deletions
diff --git a/tests/composer.json b/tests/composer.json index 8fc73816..cda5c582 100644 --- a/tests/composer.json +++ b/tests/composer.json @@ -5,6 +5,6 @@ "guzzlehttp/guzzle": "~6.0", "jarnaiz/behat-junit-formatter": "^1.3", "sabre/dav": "^4.0", - "juliushaertl/nextcloud-behat": "dev-master" + "juliushaertl/nextcloud-behat": "^0.1.0" } } diff --git a/tests/composer.lock b/tests/composer.lock index fad211cc..16913d3d 100644 --- a/tests/composer.lock +++ b/tests/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "38ca2fc61bdfd2287c881b8b466a1b73", + "content-hash": "4431e30b34e7cbf06a085f32ca6fef9b", "packages": [], "packages-dev": [ { @@ -506,16 +506,16 @@ }, { "name": "juliushaertl/nextcloud-behat", - "version": "dev-master", + "version": "0.1.0", "source": { "type": "git", "url": "https://github.com/juliushaertl/nextcloud-behat.git", - "reference": "0e44501ee763a1a5710847bf4bc21918969706b2" + "reference": "51d09d5d204ec3ae1d0bf0b76db53444d0909f2a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/juliushaertl/nextcloud-behat/zipball/0e44501ee763a1a5710847bf4bc21918969706b2", - "reference": "0e44501ee763a1a5710847bf4bc21918969706b2", + "url": "https://api.github.com/repos/juliushaertl/nextcloud-behat/zipball/51d09d5d204ec3ae1d0bf0b76db53444d0909f2a", + "reference": "51d09d5d204ec3ae1d0bf0b76db53444d0909f2a", "shasum": "" }, "require": { @@ -545,7 +545,7 @@ } ], "description": "Behat context helpers for Nextcloud integration tests", - "time": "2019-12-27T15:16:16+00:00" + "time": "2019-12-27T15:55:03+00:00" }, { "name": "myclabs/deep-copy", @@ -3365,9 +3365,7 @@ ], "aliases": [], "minimum-stability": "stable", - "stability-flags": { - "juliushaertl/nextcloud-behat": 20 - }, + "stability-flags": [], "prefer-stable": false, "prefer-lowest": false, "platform": [], diff --git a/tests/features/bootstrap/NextcloudTrait.php b/tests/features/bootstrap/NextcloudTrait.php deleted file mode 100644 index b73ce5ad..00000000 --- a/tests/features/bootstrap/NextcloudTrait.php +++ /dev/null @@ -1,30 +0,0 @@ -<?php -/** - * @copyright Copyright (c) 2019 Julius Härtl <jus@bitgrid.net> - * - * @author Julius Härtl <jus@bitgrid.net> - * - * @license GNU AGPL version 3 or any later version - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - * - */ - -use GuzzleHttp\Client; - -trait NextcloudTrait { - - public $baseUrl; - -} |