Commit Graph

469 Commits

Author SHA1 Message Date
Jake Barnby 75eccf8502 Fix tests 2025-08-12 18:01:16 +12:00
Jake Barnby 0febefcf75 Fix not search on wrong attribute 2025-08-12 02:49:20 +12:00
Jake Barnby 22d58e7bec Fix index count tests 2025-08-12 02:38:52 +12:00
Jake Barnby a7ccb7b16f Update tests 2025-08-12 02:33:19 +12:00
Jake Barnby 836606a06b Fix notSearch with no FTS 2025-08-12 02:03:38 +12:00
Cursor Agent acaea49c9b Add database query tests for notContains, notSearch, and other filters
Co-authored-by: jakeb994 <jakeb994@gmail.com>
2025-08-11 08:39:44 +00:00
ArnabChatterjee20k ee9f1f8645 updated database type to grids and legacy 2025-08-06 17:30:11 +05:30
ArnabChatterjee20k 4ed511f31c Merge remote-tracking branch 'upstream/1.8.x' into dat-600 2025-08-06 10:57:20 +05:30
Jake Barnby bd4fb03b74 Merge remote-tracking branch 'origin/1.7.x' into 1.8.x
# Conflicts:
#	app/config/specs/open-api3-latest-client.json
#	app/config/specs/open-api3-latest-console.json
#	app/config/specs/open-api3-latest-server.json
#	app/config/specs/swagger2-latest-client.json
#	app/config/specs/swagger2-latest-console.json
#	app/config/specs/swagger2-latest-server.json
#	app/controllers/api/databases.php
#	composer.lock
#	tests/e2e/Services/Databases/Legacy/DatabasesBase.php
#	tests/e2e/Services/Migrations/MigrationsBase.php
2025-08-06 17:24:00 +12:00
ArnabChatterjee20k 28cf4e1d94 updated the validator of type of database to validator 2025-08-05 18:07:11 +05:30
ArnabChatterjee20k f06af411ba Add 'type' attribute to database creation and update tests 2025-08-05 16:48:05 +05:30
Jake Barnby 43f0849979 Fix atomic num ops with limit 0 2025-08-05 20:38:26 +12:00
ArnabChatterjee20k 27684ef38c Merge remote-tracking branch 'upstream/1.8.x' into dat-588 2025-08-01 13:54:13 +05:30
ArnabChatterjee20k 82fbc524f8 Add comprehensive tests for date and time operations in database rows
- Implemented `testDateTimeRow` to validate the behavior of datetime columns, including creation, retrieval, and modification of rows with custom createdAt and updatedAt timestamps.
- Added `testSingleRowDateOperations` to cover various scenarios for single row operations with custom date handling.
- Created `testBulkRowDateOperations` to test bulk creation and updates of rows with date fields.
- Introduced `testUpsertRowDateOperations` to verify upsert functionality with custom date fields.
- Cleaned up legacy test file by removing unnecessary blank lines.
2025-08-01 13:53:04 +05:30
ArnabChatterjee20k de69692ff2 added modify createdAt/updatedAt support 2025-07-31 20:32:14 +05:30
Jake Barnby 6347d7da3f Merge remote-tracking branch 'origin/1.7.x' into 1.8.x
# Conflicts:
#	composer.lock
2025-07-29 22:52:06 +12:00
Jake Barnby 360e4ce992 Add test case 2025-07-29 16:54:39 +12:00
Darshan d7136e77ea fix: tests. 2025-07-27 13:50:34 +05:30
Jake Barnby 6637cc0ed7 Fix merge 2025-07-27 17:09:50 +12:00
Jake Barnby cdbd89b3f3 Merge remote-tracking branch 'origin/1.7.x' into 1.8.x
# Conflicts:
#	app/config/specs/open-api3-1.8.x-client.json
#	app/config/specs/open-api3-1.8.x-console.json
#	app/config/specs/open-api3-1.8.x-server.json
#	app/config/specs/open-api3-latest-client.json
#	app/config/specs/open-api3-latest-console.json
#	app/config/specs/open-api3-latest-server.json
#	app/config/specs/swagger2-1.8.x-client.json
#	app/config/specs/swagger2-1.8.x-console.json
#	app/config/specs/swagger2-1.8.x-server.json
#	app/config/specs/swagger2-latest-client.json
#	app/config/specs/swagger2-latest-console.json
#	app/config/specs/swagger2-latest-server.json
#	app/controllers/api/databases.php
#	composer.lock
#	tests/e2e/Services/Databases/Legacy/DatabasesBase.php
2025-07-27 16:07:04 +12:00
ArnabChatterjee20k c398e08f90 Add user injection and permission handling in Upsert actions 2025-07-22 14:10:58 +05:30
ArnabChatterjee20k 7bb760b4a1 added test for relation related upsert , fixed formatting 2025-07-22 13:10:05 +05:30
Jake Barnby 7355711f24 Fix index tests 2025-07-22 16:35:35 +12:00
Jake Barnby 724ee41eff Fix index tests 2025-07-22 14:48:48 +12:00
Jake Barnby f33ed64f6a Fix index tests 2025-07-22 14:14:08 +12:00
ArnabChatterjee20k 8b88a09374 added the cases of null permissions in the upsert route and update the e2e test 2025-07-21 19:32:27 +05:30
Jake Barnby 75bd0dc55b Update tables test 2025-07-21 21:26:08 +12:00
Jake Barnby f0f7381b97 Update libs 2025-07-21 19:13:34 +12:00
Darshan d6ec18bda7 update: maintain tests consistency. 2025-07-18 12:14:02 +05:30
Jake Barnby 9ceeb76ad0 Merge branch '1.7.x' into 1.8.x
# Conflicts:
#	app/controllers/api/databases.php
#	composer.lock
#	src/Appwrite/GraphQL/Types/Mapper.php
2025-07-18 17:24:12 +12:00
Darshan 944f5ed7c1 update: mirror tests to Tables api. 2025-07-17 18:58:56 +05:30
Darshan ee317b0b8d Merge branch '1.8.x' into 'lazy-load-relationships'. 2025-07-17 18:15:16 +05:30
ArnabChatterjee20k 1d9aac5a49 updated upsert document test with api key 2025-07-09 23:57:39 +05:30
ArnabChatterjee20k ca61b528b9 reverted the api signature and started handling it internally 2025-07-09 23:49:56 +05:30
ArnabChatterjee20k 50109b833a removed tests for the upsert without permissions for passing the tests 2025-07-09 21:49:07 +05:30
ArnabChatterjee20k c36720e3b0 updated param of permissiosns in upsert and updated tests for upsert without permissions 2025-07-09 16:37:41 +05:30
Jake Barnby b2fa28754d Merge remote-tracking branch 'origin/1.7.x' into 1.8.x
# Conflicts:
#	.github/workflows/benchmark.yml
#	composer.lock
#	src/Appwrite/Event/Database.php
2025-07-04 10:00:45 -04:00
Darshan 4d0bd1d74f add: delay, retries. 2025-07-01 18:10:19 +05:30
Darshan 385e4e14b8 add: delay, retries. 2025-07-01 17:33:11 +05:30
Darshan c93d92abef rename: tests from collections to legacy. 2025-06-19 10:52:15 +05:30
Jake Barnby e704e96290 Revert "Feat: Lazy-load relationships" 2025-06-16 11:48:27 -04:00
Darshan 44a5a3eca1 Merge branch '1.8.x' into lazy-load-relationships 2025-06-13 20:01:01 +05:30
Darshan a13a6a6913 update: naming convention for table tests. 2025-06-13 11:06:51 +05:30
Darshan 6f16895e8b Merge branch '1.8.x' into 'database-aliases'. 2025-06-13 10:44:44 +05:30
Darshan 44870b9810 fix: pending tests. 2025-06-13 10:26:05 +05:30
Jake Barnby cf830affc9 Check not development for plan error 2025-06-12 12:20:21 -04:00
Darshan b248c9b640 fix: a bunch of tests 🚧 2025-06-12 19:58:28 +05:30
Darshan 30eb206dc8 Merge branch '1.8.x' into database-aliases 2025-06-12 11:41:11 +05:30
Darshan 9f30b0263a simplify: queries. 2025-06-12 09:15:36 +05:30
Darshan 5aa88be49c simplify: queries. 2025-06-12 09:14:02 +05:30