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.
* refactor: move tags from property to payload * chore: fix tests * chore: drop memo tags * chore: update --------- Co-authored-by: Steven <stevenlgtm@gmail.com> |
2 months ago | |
---|---|---|
.. | ||
README.md | 1 year ago | |
activity_test.go | 1 year ago | |
idp_test.go | 11 months ago | |
inbox_test.go | 10 months ago | |
memo_organizer_test.go | 12 months ago | |
memo_relation_test.go | 12 months ago | |
memo_test.go | 2 months ago | |
migrator_test.go | 5 months ago | |
reaction_test.go | 5 months ago | |
resource_test.go | 10 months ago | |
store.go | 6 months ago | |
user_setting_test.go | 10 months ago | |
user_test.go | 12 months ago | |
webhook_test.go | 11 months ago | |
workspace_setting_test.go | 6 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.