Update framework to fix route mismatches
(cherry picked from commit d42f6738a9
)
# Conflicts:
# composer.lock
This commit is contained in:
parent
67ad856490
commit
c2e711b021
3 changed files with 27 additions and 11 deletions
|
@ -51,7 +51,7 @@
|
||||||
"utopia-php/config": "0.2.*",
|
"utopia-php/config": "0.2.*",
|
||||||
"utopia-php/database": "0.36.*",
|
"utopia-php/database": "0.36.*",
|
||||||
"utopia-php/domains": "1.1.*",
|
"utopia-php/domains": "1.1.*",
|
||||||
"utopia-php/framework": "0.28.*",
|
"utopia-php/framework": "dev-fix-route-mistmatch as 0.28.1",
|
||||||
"utopia-php/image": "0.5.*",
|
"utopia-php/image": "0.5.*",
|
||||||
"utopia-php/locale": "0.4.*",
|
"utopia-php/locale": "0.4.*",
|
||||||
"utopia-php/logger": "0.3.*",
|
"utopia-php/logger": "0.3.*",
|
||||||
|
|
30
composer.lock
generated
30
composer.lock
generated
|
@ -4,7 +4,7 @@
|
||||||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||||
"This file is @generated automatically"
|
"This file is @generated automatically"
|
||||||
],
|
],
|
||||||
"content-hash": "169ab6e7dd540e45309d3c5093506fad",
|
"content-hash": "6b8b1c976fb0a44257d3820fe87af179",
|
||||||
"packages": [
|
"packages": [
|
||||||
{
|
{
|
||||||
"name": "adhocore/jwt",
|
"name": "adhocore/jwt",
|
||||||
|
@ -2221,23 +2221,24 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "utopia-php/framework",
|
"name": "utopia-php/framework",
|
||||||
"version": "0.28.1",
|
"version": "dev-fix-route-mistmatch",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/utopia-php/framework.git",
|
"url": "https://github.com/utopia-php/framework.git",
|
||||||
"reference": "7f22c556fc5991e54e5811a68fb39809b21bda55"
|
"reference": "e8e12a880539679010b86576e843be9f4c7f3329"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/utopia-php/framework/zipball/7f22c556fc5991e54e5811a68fb39809b21bda55",
|
"url": "https://api.github.com/repos/utopia-php/framework/zipball/e8e12a880539679010b86576e843be9f4c7f3329",
|
||||||
"reference": "7f22c556fc5991e54e5811a68fb39809b21bda55",
|
"reference": "e8e12a880539679010b86576e843be9f4c7f3329",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"php": ">=8.0.0"
|
"php": ">=8.0"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"laravel/pint": "^1.2",
|
"laravel/pint": "^1.2",
|
||||||
|
"phpstan/phpstan": "1.9.x-dev",
|
||||||
"phpunit/phpunit": "^9.5.25",
|
"phpunit/phpunit": "^9.5.25",
|
||||||
"vimeo/psalm": "4.27.0"
|
"vimeo/psalm": "4.27.0"
|
||||||
},
|
},
|
||||||
|
@ -2259,9 +2260,9 @@
|
||||||
],
|
],
|
||||||
"support": {
|
"support": {
|
||||||
"issues": "https://github.com/utopia-php/framework/issues",
|
"issues": "https://github.com/utopia-php/framework/issues",
|
||||||
"source": "https://github.com/utopia-php/framework/tree/0.28.1"
|
"source": "https://github.com/utopia-php/framework/tree/fix-route-mistmatch"
|
||||||
},
|
},
|
||||||
"time": "2023-03-02T08:16:01+00:00"
|
"time": "2023-05-30T01:59:18+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "utopia-php/image",
|
"name": "utopia-php/image",
|
||||||
|
@ -5652,9 +5653,18 @@
|
||||||
"time": "2023-02-08T07:49:20+00:00"
|
"time": "2023-02-08T07:49:20+00:00"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"aliases": [],
|
"aliases": [
|
||||||
|
{
|
||||||
|
"package": "utopia-php/framework",
|
||||||
|
"version": "dev-fix-route-mistmatch",
|
||||||
|
"alias": "0.28.1",
|
||||||
|
"alias_normalized": "0.28.1.0"
|
||||||
|
}
|
||||||
|
],
|
||||||
"minimum-stability": "stable",
|
"minimum-stability": "stable",
|
||||||
"stability-flags": [],
|
"stability-flags": {
|
||||||
|
"utopia-php/framework": 20
|
||||||
|
},
|
||||||
"prefer-stable": false,
|
"prefer-stable": false,
|
||||||
"prefer-lowest": false,
|
"prefer-lowest": false,
|
||||||
"platform": {
|
"platform": {
|
||||||
|
|
|
@ -1086,6 +1086,12 @@ trait DatabasesBase
|
||||||
|
|
||||||
$this->assertEquals(400, $document4['headers']['status-code']);
|
$this->assertEquals(400, $document4['headers']['status-code']);
|
||||||
|
|
||||||
|
// Delete document 4 with incomplete path
|
||||||
|
$this->assertEquals(404, $this->client->call(Client::METHOD_DELETE, '/databases/' . $databaseId . '/collections/' . $data['moviesId'] . '/documents/', array_merge([
|
||||||
|
'content-type' => 'application/json',
|
||||||
|
'x-appwrite-project' => $this->getProject()['$id'],
|
||||||
|
], $this->getHeaders()))['headers']['status-code']);
|
||||||
|
|
||||||
return $data;
|
return $data;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue