mirror of
https://github.com/usememos/memos.git
synced 2026-12-02 16:59:18 +01:00
369b8af109
* chore: improve internal path migrator - handle mixed path styles - handle Windows paths - add tests * chore: fix goimports error
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.