1
0
Fork 0
mirror of synced 2024-08-27 08:02:22 +12:00
Commit graph

36 commits

Author SHA1 Message Date
prateek banga
d6f4d76807 adds another scenario in test case 2023-08-16 14:57:50 +05:30
prateek banga
cb6760a957 removes unnecessary use statement 2023-08-14 22:02:54 +05:30
prateek banga
29e1757364 lint fix 2023-08-11 17:28:32 +05:30
prateek banga
68736a53f9 Adds more complex test scenario 2023-08-11 17:25:34 +05:30
prateek banga
971ebbc686 fix test cases 2023-08-11 16:17:31 +05:30
Jake Barnby
6cd0e328d9
Review fixes 2023-08-10 16:44:38 -04:00
prateek banga
983c810a45 adds assertion in test case 2023-08-10 17:18:45 +05:30
prateek banga
ebcb43bbad use getUser to fetch userId in test 2023-08-08 21:20:19 +05:30
prateek banga
fb3bab7e2e fix lint issues 2023-08-01 23:32:15 +05:30
prateek banga
40b0c081f7 remove checkPermission from Appwrite and more complex test case
This commit removes check pemission from update document in appwrite as permission is being checked by Utopia already. This commits also improves the test case to have 3 levels of depth with relationships
2023-08-01 23:29:15 +05:30
prateek banga
f7e96282db adds attribute for update method and makes test case to check more complex scenario 2023-07-29 12:01:10 +05:30
prateek banga
e631f393fc fix lint issues and remove sleep from test 2023-07-27 02:23:20 +05:30
Prateek Banga
21bc2ae560 lint issues 2023-07-27 02:03:01 +05:30
Prateek Banga
b8b3d13f22 added test case for verifying permission issue with relations 2023-07-27 02:02:55 +05:30
Prateek Banga
e1ba324196 fix formatting issues in comments according to feedback in PR. 2023-07-10 13:34:32 +05:30
Prateek Banga
a98248478f lint issues 2023-07-08 01:31:20 +05:30
Prateek Banga
4542ec34ae added test case to verify update of two way relationship 2023-07-08 01:28:24 +05:30
fogelito
00c1418246 Update response Model.php 2023-03-16 13:48:27 +02:00
fogelito
8ade726932 Changing Role + Permissions namespace 2022-12-14 18:04:06 +02:00
fogelito
f96128e14f Changing Id 2022-12-14 17:42:25 +02:00
Jake Barnby
477dbbb909
Update write helper usages 2022-09-06 21:13:42 +12:00
Jake Barnby
02f54eca65
Fix tests 2022-09-06 13:02:32 +12:00
Jake Barnby
e55faff0a1
Fix tests 2022-09-05 19:51:33 +12:00
Jake Barnby
a861b174a2
Add allowed permissions tests 2022-09-05 14:16:40 +12:00
Jake Barnby
77a28a2de7 Don't use ID helper with existing ID's 2022-08-15 23:24:31 +12:00
Jake Barnby
b007acfa95 ID updates 2022-08-14 22:33:36 +12:00
Jake Barnby
fe5d3a1892 Use permission helpers 2022-08-14 17:21:11 +12:00
Jake Barnby
68cc919aaa Test fixes 2022-08-14 02:10:28 +12:00
Jake Barnby
d2b9102f84 Merge remote-tracking branch 'origin/0.16.x' into refactor-permissions-inc-console-fix
# Conflicts:
#	tests/e2e/Services/Databases/DatabasesBase.php
#	tests/e2e/Services/Databases/DatabasesCustomServerTest.php
2022-08-13 00:54:27 +12:00
Jake Barnby
5c6cb2a422 Test fixes 2022-08-13 00:49:57 +12:00
Jake Barnby
1d7c25b561 Single role per permissions entry 2022-08-12 22:36:59 +12:00
Jake Barnby
8317b167ce Databases test fixes 2022-08-08 23:00:03 +12:00
Jake Barnby
62b1eba836 Replace write refs 2022-08-05 17:23:18 +12:00
Jake Barnby
1ab86c9331 Role reference updates 2022-08-03 16:17:49 +12:00
Bradley Schofield
74a53af316 Fix Tests 2022-07-18 14:22:23 +01:00
Damodar Lohani
8f14f5aa21
Database layer (#3338)
* database response model

* database collection config

* new database scopes

* database service update

* database execption codes

* remove read write permission from database model

* updating tests and fixing some bugs

* server side tests are now passing

* databases api

* tests for database endpoint

* composer update

* fix error

* formatting

* formatting fixes

* get database test

* more updates to events and usage

* more usage updates

* fix delete type

* fix test

* delete database

* more fixes

* databaseId in attributes and indexes

* more fixes

* fix issues

* fix index subquery

* fix console scope and index query

* updating tests as required

* fix phpcs errors and warnings

* updates to review suggestions

* UI progress

* ui updates and cleaning up

* fix type

* rework database events

* update tests

* update types

* event generation fixed

* events config updated

* updating context to support multiple

* realtime updates

* fix ids

* update context

* validator updates

* fix naming conflict

* fix tests

* fix lint errors

* fix wprler and realtime tests

* fix webhooks test

* fix event validator and other tests

* formatting fixes

* removing leftover var_dumps

* remove leftover comment

* update usage params

* usage metrics updates

* update database usage

* fix usage

* specs update

* updates to usage

* fix UI and usage

* fix lints

* internal id fixes

* fixes for internal Id

* renaming services and related files

* rename tests

* rename doc link

* rename readme

* fix test name

* tests: fixes for 0.15.x sync

Co-authored-by: Torsten Dittmann <torsten.dittmann@googlemail.com>
2022-06-22 12:51:49 +02:00
Renamed from tests/e2e/Services/Database/DatabaseCustomClientTest.php (Browse further)