Johnny 736637a362 feat: add public flag instead of system setting to enable signup (#3589) 1 week ago
..
README.md 87ddeb2c79 chore: adjust store test for mysql 9 months ago
activity_test.go 5bcbbd4c52 chore: fix store tests on Windows (#2769) 5 months ago
idp_test.go 14d4cfd5a4 chore: tweak store methods name 2 months ago
inbox_test.go b8763905ba chore: tweak naming 1 month ago
memo_organizer_test.go 7cc8b951a3 refactor: update resource id naming 3 months ago
memo_relation_test.go 7cc8b951a3 refactor: update resource id naming 3 months ago
memo_test.go 7cc8b951a3 refactor: update resource id naming 3 months ago
reaction_test.go cebc46adc7 chore: tweak store definition 2 months ago
resource_test.go 26545c855c refactor: implement s3 storage 2 months ago
store.go 3dddd3ec4c chore: tweak reaction store 4 months ago
user_setting_test.go b8763905ba chore: tweak naming 1 month ago
user_test.go 8fe6874b1b chore: add description field to user 3 months ago
webhook_test.go 9a2c423435 chore: update var-naming 2 months ago
workspace_setting_test.go 736637a362 feat: add public flag instead of system setting to enable signup (#3589) 1 week 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.