mirror of https://github.com/usememos/memos
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
7 months ago | |
---|---|---|
.. | ||
README.md | ||
activity_test.go | ||
idp_test.go | 11 months ago | |
inbox_test.go | 10 months ago | |
memo_organizer_test.go | ||
memo_relation_test.go | ||
memo_test.go | ||
reaction_test.go | ||
resource_test.go | 10 months ago | |
store.go | 7 months ago | |
user_setting_test.go | 10 months ago | |
user_test.go | ||
webhook_test.go | 11 months ago | |
workspace_setting_test.go | 8 months ago |
README.md
Store tests
How to test store with MySQL?
- Create a database in your MySQL server.
- Run the following command with two environment variables set:
DRIVER=mysql DSN=root@/memos_test go test -v ./test/store/...
DRIVER
should be set tomysql
.DSN
should be set to the DSN of your MySQL server.