Steven d066d46f6e chore: tweak schema version 1 месяц назад
..
README.md 87ddeb2c79 chore: adjust store test for mysql 1 год назад
activity_test.go 5bcbbd4c52 chore: fix store tests on Windows (#2769) 10 месяцев назад
idp_test.go 14d4cfd5a4 chore: tweak store methods name 7 месяцев назад
inbox_test.go b8763905ba chore: tweak naming 6 месяцев назад
memo_organizer_test.go 7cc8b951a3 refactor: update resource id naming 8 месяцев назад
memo_relation_test.go 7cc8b951a3 refactor: update resource id naming 8 месяцев назад
memo_test.go b664653306 test: add test for searching memos by tags (#3876) 2 месяцев назад
migrator_test.go d066d46f6e chore: tweak schema version 1 месяц назад
reaction_test.go e527b6a878 feat: move reaction type to setting 1 месяц назад
resource_test.go 26545c855c refactor: implement s3 storage 6 месяцев назад
store.go d11bd30ec6 chore: tweak logger 2 месяцев назад
user_setting_test.go b8763905ba chore: tweak naming 6 месяцев назад
user_test.go 8fe6874b1b chore: add description field to user 8 месяцев назад
webhook_test.go 9a2c423435 chore: update var-naming 7 месяцев назад
workspace_setting_test.go 759f7c6171 chore: fix workspace setting tests 2 месяцев назад

README.md

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.