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.
|
|
15 hours ago | |
|---|---|---|
| .. | ||
| README.md | ||
| attachment_filter_test.go | 4 months ago | |
| attachment_test.go | 15 hours ago | |
| containers.go | 3 weeks ago | |
| database_size_test.go | 4 weeks ago | |
| filter_helpers_test.go | 5 months ago | |
| idp_test.go | 3 months ago | |
| inbox_test.go | 2 months ago | |
| instance_setting_test.go | 1 month ago | |
| main_test.go | 4 months ago | |
| memo_filter_test.go | 2 months ago | |
| memo_relation_test.go | 3 months ago | |
| memo_test.go | 3 months ago | |
| migrator_test.go | 3 weeks ago | |
| migrator_upgrade_test.go | 3 weeks ago | |
| reaction_test.go | 4 months ago | |
| store.go | 4 months ago | |
| user_delete_test.go | 15 hours ago | |
| user_identity_test.go | 1 month ago | |
| user_setting_test.go | 2 months ago | |
| user_test.go | 15 hours 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.