mirror of
https://github.com/nextcloud/richdocuments.git
synced 2025-12-18 05:20:43 +01:00
Merge pull request #2114 from nextcloud/dependabot/composer/tests/guzzlehttp/psr7-2.2.1
Bump guzzlehttp/psr7 from 1.8.2 to 2.2.1 in /tests
This commit is contained in:
commit
cf3ae64e23
2 changed files with 667 additions and 586 deletions
1248
tests/composer.lock
generated
1248
tests/composer.lock
generated
File diff suppressed because it is too large
Load diff
|
|
@ -28,6 +28,7 @@ use Behat\Behat\Context\Context;
|
|||
use Behat\Behat\Hook\Scope\BeforeScenarioScope;
|
||||
use Behat\Gherkin\Node\TableNode;
|
||||
use GuzzleHttp\Client;
|
||||
use GuzzleHttp\Psr7\Utils;
|
||||
use JuliusHaertl\NextcloudBehat\Context\FilesContext;
|
||||
use JuliusHaertl\NextcloudBehat\Context\ServerContext;
|
||||
use PHPUnit\Framework\Assert;
|
||||
|
|
@ -92,7 +93,7 @@ class WopiContext implements Context {
|
|||
*/
|
||||
public function collaboraPuts($source)
|
||||
{
|
||||
$file = \GuzzleHttp\Psr7\stream_for(fopen($source, 'r'));
|
||||
$file = Utils::streamFor(fopen($source, 'r'));
|
||||
$client = new Client();
|
||||
$options = [
|
||||
'body' => $file,
|
||||
|
|
@ -276,7 +277,7 @@ class WopiContext implements Context {
|
|||
* @Given /^Collabora saves the content of "([^"]*)" as "([^"]*)"$/
|
||||
*/
|
||||
public function collaboraSavesTheFileAs($source, $newName) {
|
||||
$file = \GuzzleHttp\Psr7\stream_for(fopen($source, 'r'));
|
||||
$file = Utils::streamFor(fopen($source, 'r'));
|
||||
$client = new Client();
|
||||
$options = [
|
||||
'body' => $file,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue