memos/store/test
2026-08-22 00:12:35 +08:00
..
attachment_filter_test.go feat(filter): standard CEL now variable, time accessors, set ops 2026-06-22 22:42:44 +08:00
attachment_test.go fix(store): begin sqlite memo mutations with BEGIN IMMEDIATE (#6192) 2026-08-16 22:18:08 +08:00
auth_config_test.go feat(config): provision settings from secret files 2026-07-13 22:34:24 +08:00
containers.go test(ci): add upgrade and startup smoke coverage 2026-07-26 21:21:15 +08:00
database_size_test.go feat(stats): admin instance resource statistics 2026-05-01 23:15:56 +08:00
filter_helpers_test.go feat(filter): standard CEL now variable, time accessors, set ops 2026-06-22 22:42:44 +08:00
idp_test.go feat: replace auto-increment ID with UID for identity provider resource names (#5687) 2026-03-05 21:01:22 +08:00
inbox_test.go refactor(inbox): store memo comment payloads without activity records (#5741) 2026-03-19 19:33:25 +08:00
instance_setting_test.go fix(storage): proxy S3 attachments through authenticated routes (#6210) 2026-08-18 23:38:35 +08:00
main_test.go fix: resolve flaky migration tests and add stable upgrade test (#5514) 2026-01-20 19:25:00 +08:00
memo_filter_functions_test.go feat(filter): standard CEL now variable, time accessors, set ops 2026-06-22 22:42:44 +08:00
memo_filter_test.go feat(markdown): unify tag syntax and recognition (#6132) 2026-08-02 14:46:04 +08:00
memo_relation_test.go feat: support memo-scoped Markdown attachment images (#6169) 2026-08-09 23:27:18 +08:00
memo_test.go test(store): add tests for CreateMemo with custom timestamps 2026-03-01 19:08:27 +08:00
migrator_guardrail_test.go test(ci): add upgrade and startup smoke coverage 2026-07-26 21:21:15 +08:00
migrator_stable_upgrade_test.go test(ci): add upgrade and startup smoke coverage 2026-07-26 21:21:15 +08:00
migrator_test.go refactor(reaction): link reactions to memo IDs (#6221) 2026-08-22 00:12:35 +08:00
migrator_upgrade_test.go test(ci): add upgrade and startup smoke coverage 2026-07-26 21:21:15 +08:00
reaction_test.go refactor(reaction): link reactions to memo IDs (#6221) 2026-08-22 00:12:35 +08:00
README.md chore: move store test 2025-03-17 21:51:02 +08:00
store.go refactor: migrate HOST roles to ADMIN 2026-01-20 23:38:30 +08:00
user_delete_test.go refactor(reaction): link reactions to memo IDs (#6221) 2026-08-22 00:12:35 +08:00
user_identity_test.go fix(auth): provision SSO users atomically (#6114) 2026-07-25 09:47:16 +08:00
user_setting_test.go fix(storage): proxy S3 attachments through authenticated routes (#6210) 2026-08-18 23:38:35 +08:00
user_test.go feat(user): define username format and mention syntax (#6134) 2026-08-02 19:57:16 +08:00

Store tests

How to test store with MySQL?

  1. Create a database in your MySQL server.
  2. Run the following command with two environment variables set:
DRIVER=mysql DSN=root@/memos_test go test -v ./test/store/...
  • DRIVER should be set to mysql.
  • DSN should be set to the DSN of your MySQL server.