Use release package for behat helpers

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl 2019-12-27 16:57:48 +01:00
Родитель 478d24cc75
Коммит 7f3e9e5e21
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4C614C6ED2CDE6DF
3 изменённых файлов: 8 добавлений и 40 удалений

Просмотреть файл

@ -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"
}
}

16
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": [],

Просмотреть файл

@ -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;
}