Steven 51d58d3982 chore: add workspace setting migrator 8 месяцев назад
..
README.md 87ddeb2c79 chore: adjust store test for mysql 1 год назад
activity_test.go 5bcbbd4c52 chore: fix store tests on Windows (#2769) 9 месяцев назад
idp_test.go 5bcbbd4c52 chore: fix store tests on Windows (#2769) 9 месяцев назад
inbox_test.go 5bcbbd4c52 chore: fix store tests on Windows (#2769) 9 месяцев назад
memo_organizer_test.go 8382354ef7 feat: add user-defined name to memo 9 месяцев назад
memo_relation_test.go 8382354ef7 feat: add user-defined name to memo 9 месяцев назад
memo_test.go 8382354ef7 feat: add user-defined name to memo 9 месяцев назад
reaction_test.go e5f244cb50 chore: fix tests 9 месяцев назад
resource_test.go 582cc6609c feat: add user-defined id to resource 9 месяцев назад
storage_test.go 5bcbbd4c52 chore: fix store tests on Windows (#2769) 9 месяцев назад
store.go 3dddd3ec4c chore: tweak reaction store 9 месяцев назад
tag_test.go 5bcbbd4c52 chore: fix store tests on Windows (#2769) 9 месяцев назад
user_setting_test.go 5bcbbd4c52 chore: fix store tests on Windows (#2769) 9 месяцев назад
user_test.go 5bcbbd4c52 chore: fix store tests on Windows (#2769) 9 месяцев назад
webhook_test.go 5bcbbd4c52 chore: fix store tests on Windows (#2769) 9 месяцев назад
workspace_setting_test.go 51d58d3982 chore: add workspace setting migrator 8 месяцев назад

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.