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.
|
|
2 years ago | |
|---|---|---|
| .. | ||
| README.md | 2 years ago | |
| activity_test.go | 2 years ago | |
| idp_test.go | 2 years ago | |
| inbox_test.go | 2 years ago | |
| memo_organizer_test.go | 2 years ago | |
| memo_relation_test.go | 2 years ago | |
| memo_test.go | 2 years ago | |
| migrator_test.go | 2 years ago | |
| resource_test.go | 2 years ago | |
| storage_test.go | 2 years ago | |
| store.go | 2 years ago | |
| tag_test.go | 2 years ago | |
| user_setting_test.go | 2 years ago | |
| user_test.go | 2 years ago | |
| webhook_test.go | 2 years ago | |
| workspace_setting_test.go | 2 years 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/...
DRIVERshould be set tomysql.DSNshould be set to the DSN of your MySQL server.