Commit Graph
758 Commits
Author SHA1 Message Date
Jake Barnby c89af1201a Fix tests 2025-10-09 16:37:17 +13:00
Jake Barnby 8193f0fcac Ensure create/upsert stores in state by generated ID not unique string 2025-10-09 16:24:25 +13:00
Jake Barnby 3d3f50064d Force set state on increment 2025-10-09 15:50:18 +13:00
Jake Barnby d5d09061e9 Fix index validator params 2025-10-09 13:46:14 +13:00
Jake Barnby eb7306a4fa Add missing state handlers 2025-10-07 22:17:59 +13:00
Jake Barnby 9e3c439c51 Merge remote-tracking branch 'origin/1.8.x' into feat-txn
# Conflicts:
#	composer.lock
2025-10-07 18:57:46 +13:00
Jake Barnby 4b0eddcc84 Merge remote-tracking branch 'origin/1.8.x' into feat-mongodb
# Conflicts:
#	composer.json
#	composer.lock
2025-10-07 18:16:02 +13:00
Jake Barnby 2566f4d98e Add tostring 2025-10-06 14:16:01 +13:00
Jake Barnby 24f6da5610 Add assertions on tables DB 2025-10-06 13:47:21 +13:00
Jake Barnby 5be2489e55 Check query result 2025-10-05 00:06:56 +13:00
Jake Barnby 6881df6ae5 Fix expectations 2025-10-04 22:55:07 +13:00
Jake Barnby 57e3e8f5f4 Fix test scope 2025-10-04 21:10:50 +13:00
Jake Barnby 3e77810e13 Fix existence check for tracked + staged ops 2025-10-04 19:26:22 +13:00
Jake Barnby 2c7cf7826b Fix operation perm checks 2025-10-04 16:43:39 +13:00
Jake Barnby 59ae403391 Add more validation tests 2025-10-03 17:34:34 +13:00
Jake Barnby faf837e389 Update db for index validation fix 2025-10-02 15:29:27 +13:00
Jake Barnby 3ecd7e6a95 Fix fts create on array 2025-10-01 22:02:41 +13:00
Jake Barnby 408bca400b Fix spatial tests 2025-10-01 19:33:11 +13:00
Jake Barnby 6bacec52c5 Fix storage test 2025-10-01 17:11:02 +13:00
Jake Barnby f3460db369 Fix fulltext error 2025-10-01 12:30:48 +13:00
Jake Barnby 766c3293d2 Fix index text checks 2025-10-01 00:47:07 +13:00
Jake Barnby daeb721995 Fix tests 2025-09-30 23:44:26 +13:00
Jake Barnby 9fde875904 Merge remote-tracking branch 'origin/1.8.x' into feat-txn
# Conflicts:
#	composer.lock
#	src/Appwrite/Platform/Workers/StatsResources.php
#	src/Appwrite/Platform/Workers/StatsUsage.php
2025-09-22 16:12:45 +12:00
shimon b828621feb Update composer dependencies and enhance index validation in database module 2025-09-21 19:14:40 +03:00
shimon 3edc055c9d Skip spatial column tests for MongoDB support in DatabasesBase trait 2025-09-21 16:02:36 +03:00
shimon ceda513083 Merge branch '1.8.x' of github.com:appwrite/appwrite into feat-mongodb-pulls
# Conflicts:
#	composer.lock
#	src/Appwrite/Platform/Workers/StatsUsage.php
#	tests/e2e/Services/Databases/TablesDB/DatabasesBase.php
2025-09-21 15:55:11 +03:00
Jake Barnby c1782f6f58 Don't remove required attributes 2025-09-19 15:28:41 +12:00
ArnabChatterjee20k 52ceddcd5a linting 2025-09-17 20:02:36 +05:30
ArnabChatterjee20k c5e9ec3969 added cases for checking default added or not 2025-09-17 20:00:10 +05:30
ArnabChatterjee20k 5b09ebe54b added cases for with default values 2025-09-17 19:46:06 +05:30
ArnabChatterjee20k 4815780476 Add spatial column validation during required mode and tests for existing data in databases 2025-09-17 18:01:29 +05:30
shimon b1e55702c8 Refactor MongoDB test cases for improved readability and consistency. Adjust whitespace in conditional statements and remove redundant test methods related to spatial columns. Add new tests for spatial distance queries and update existing tests to ensure proper functionality. 2025-09-16 19:14:09 +03:00
shimon f16eba2f9f Update PHPUnit configuration to stop on failure set to false, and clean up whitespace in multiple files for consistency. Adjust comments and ensure proper formatting in test cases and API handling. 2025-09-16 19:13:38 +03:00
shimon 7c0bd1da88 uncomment inversion tests 2025-09-16 17:51:29 +03:00
shimon cc87de8934 Merge branch 'feat-mongodb-pulls' of github.com:appwrite/appwrite into feat-mongodb-pulls
# Conflicts:
#	composer.lock
2025-09-16 17:43:47 +03:00
shimon 5f8dc9998c Refactor database document handling by replacing createOrUpdateDocuments with upsertDocuments in multiple classes. Clean up common.php by removing commented-out index definitions and ensuring proper indexing for MongoDB compatibility. Update UsageTest to correct API endpoint paths for database operations. 2025-09-16 17:39:41 +03:00
fogelito 614285f1ae Add Scope for tests 2025-09-16 11:29:13 +03:00
shimon f5fc099d87 Merge branch '1.8.x' of github.com:appwrite/appwrite into feat-mongodb-pulls
# Conflicts:
#	composer.lock
#	tests/e2e/Services/Databases/TablesDB/DatabasesBase.php
2025-09-16 10:26:43 +03:00
Jake Barnby fb65d7a965 Add scoped tests 2025-09-16 13:25:15 +12:00
Jake Barnby 5c09e8ae00 Lint 2025-09-13 00:35:03 +12:00
Jake Barnby edc637b762 Merge remote-tracking branch 'origin/1.8.x' into feat-txn
# Conflicts:
#	composer.lock
2025-09-13 00:29:19 +12:00
Jake Barnby 304ebf12b9 Add more tests 2025-09-13 00:04:49 +12:00
Jake Barnby 7120bce761 Handle structure exception 2025-09-12 21:47:40 +12:00
ArnabChatterjee20k addd140925 updated composer 2025-09-12 11:24:19 +05:30
ArnabChatterjee20k 289cf4db0a testing with symlink 2025-09-11 21:55:36 +05:30
shimon 89d06d00c0 Merge branch '1.8.x' of github.com:appwrite/appwrite into feat-mongodb-pulls
# Conflicts:
#	.github/workflows/tests.yml
#	composer.lock
#	tests/e2e/Services/Databases/TablesDB/DatabasesBase.php
2025-09-11 16:54:49 +03:00
Jake Barnby 65ad2c9ff5 Handle usage + realtime 2025-09-12 01:45:16 +12:00
Jake Barnby ef685c5bc1 Fix tests 2025-09-12 00:19:39 +12:00
Jake Barnby e6c83f364c Merge remote-tracking branch 'origin/1.8.x' into feat-txn
# Conflicts:
#	composer.lock
2025-09-11 21:17:50 +12:00
Jake Barnby 8706828c22 Fix tests 2025-09-11 21:13:41 +12:00