Steven 7fc7b19d64 chore: deprecate user setting legacy api 7 months ago
..
README.md 87ddeb2c79 chore: adjust store test for mysql 9 months ago
activity_test.go 1b34119e60 chore: update activity store definition 8 months ago
idp_test.go 0e05c62a3b chore: update common utils (#1908) 1 year ago
inbox_test.go 0ee938c38b chore: remove unused inbox status 8 months ago
memo_relation_test.go fa6693a7ae chore: update list memos 7 months ago
memo_test.go 9c18960f47 feat: support Postgres (#2569) 7 months ago
resource_test.go 6007f48b7d chore: retire memo resource relation table 9 months ago
storage_test.go cd0ea6558d chore: update golangci-lint config 9 months ago
store.go a6ee61e96d chore: update package name 9 months ago
store_test.go 8328b5dd4a chore: upgrade version to `0.14.2` (#2035) 11 months ago
system_setting_test.go 66e65e4dc1 refactor: migrate definition to api v1 (#1879) 1 year ago
tag_test.go d6789550a0 refactor: migrate tag to driver 9 months ago
user_setting_test.go 7fc7b19d64 chore: deprecate user setting legacy api 7 months ago
user_test.go cd0ea6558d chore: update golangci-lint config 9 months ago
webhook_test.go 1a5bce49c2 chore: implement webhook store 7 months ago

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.