1
0
Fork 0
mirror of synced 2024-06-03 11:24:48 +12:00

chore: update composer

This commit is contained in:
Torsten Dittmann 2022-06-27 22:08:23 +02:00
parent bc16861930
commit 904baec1b9
3 changed files with 32 additions and 14 deletions

View file

@ -71,7 +71,7 @@
}
],
"require-dev": {
"appwrite/sdk-generator": "0.19.0",
"appwrite/sdk-generator": "0.19.1",
"phpunit/phpunit": "9.5.20",
"squizlabs/php_codesniffer": "^3.6",
"swoole/ide-helper": "4.8.9",

26
composer.lock generated
View file

@ -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": "5d91773f78edc4fe8702d152b0a307c2",
"content-hash": "fe210597aeb8e4b9c1cc7b1fa64aed1c",
"packages": [
{
"name": "adhocore/jwt",
@ -2051,16 +2051,16 @@
},
{
"name": "utopia-php/database",
"version": "0.18.5",
"version": "0.18.6",
"source": {
"type": "git",
"url": "https://github.com/utopia-php/database.git",
"reference": "afdabd8fea127ec39b6e5518f7594b8f2e6c07db"
"reference": "e9e163642546343267c2fe0ee90016a4a0230b4a"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/utopia-php/database/zipball/afdabd8fea127ec39b6e5518f7594b8f2e6c07db",
"reference": "afdabd8fea127ec39b6e5518f7594b8f2e6c07db",
"url": "https://api.github.com/repos/utopia-php/database/zipball/e9e163642546343267c2fe0ee90016a4a0230b4a",
"reference": "e9e163642546343267c2fe0ee90016a4a0230b4a",
"shasum": ""
},
"require": {
@ -2109,9 +2109,9 @@
],
"support": {
"issues": "https://github.com/utopia-php/database/issues",
"source": "https://github.com/utopia-php/database/tree/0.18.5"
"source": "https://github.com/utopia-php/database/tree/0.18.6"
},
"time": "2022-06-24T16:14:12+00:00"
"time": "2022-06-27T17:28:05+00:00"
},
{
"name": "utopia-php/domains",
@ -2828,16 +2828,16 @@
"packages-dev": [
{
"name": "appwrite/sdk-generator",
"version": "0.19.0",
"version": "0.19.1",
"source": {
"type": "git",
"url": "https://github.com/appwrite/sdk-generator.git",
"reference": "c3f795752173963334cec43af1d33a29a9d22016"
"reference": "17cdffce7ea203ce9c6c951229aa3eb72417f645"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/appwrite/sdk-generator/zipball/c3f795752173963334cec43af1d33a29a9d22016",
"reference": "c3f795752173963334cec43af1d33a29a9d22016",
"url": "https://api.github.com/repos/appwrite/sdk-generator/zipball/17cdffce7ea203ce9c6c951229aa3eb72417f645",
"reference": "17cdffce7ea203ce9c6c951229aa3eb72417f645",
"shasum": ""
},
"require": {
@ -2872,9 +2872,9 @@
"description": "Appwrite PHP library for generating API SDKs for multiple programming languages and platforms",
"support": {
"issues": "https://github.com/appwrite/sdk-generator/issues",
"source": "https://github.com/appwrite/sdk-generator/tree/0.19.0"
"source": "https://github.com/appwrite/sdk-generator/tree/0.19.1"
},
"time": "2022-06-22T08:43:07+00:00"
"time": "2022-06-27T20:01:09+00:00"
},
{
"name": "doctrine/instantiator",

View file

@ -1260,6 +1260,24 @@ trait DatabasesBase
$this->assertEquals('Spider-Man: Far From Home', $documents['body']['documents'][0]['title']);
$this->assertEquals('Spider-Man: Homecoming', $documents['body']['documents'][1]['title']);
$documents = $this->client->call(Client::METHOD_GET, '/databases/' . $databaseId . '/collections/' . $data['moviesId'] . '/documents', array_merge([
'content-type' => 'application/json',
'x-appwrite-project' => $this->getProject()['$id'],
], $this->getHeaders()), [
'queries' => ['$createdAt.greater(132)'],
]);
$this->assertCount(3, $documents['body']['documents']);
$documents = $this->client->call(Client::METHOD_GET, '/databases/' . $databaseId . '/collections/' . $data['moviesId'] . '/documents', array_merge([
'content-type' => 'application/json',
'x-appwrite-project' => $this->getProject()['$id'],
], $this->getHeaders()), [
'queries' => ['$createdAt.lesser(132)'],
]);
$this->assertCount(0, $documents['body']['documents']);
/**
* Test for Failure
*/