Lincoln Nogueira 369b8af109
chore: improve resource internal_path migrator (#2698)
* chore: improve internal path migrator
- handle mixed path styles
- handle Windows paths
- add tests

* chore: fix goimports error
2024-01-03 08:31:59 +08:00
..
2023-07-06 22:53:38 +08:00
2023-12-06 22:44:49 +08:00
2023-12-03 13:31:29 +08:00
2023-09-29 09:15:54 +08:00
2023-12-19 22:34:06 +08:00
2023-09-26 19:37:22 +08:00
2023-11-24 22:45:38 +08:00

Store tests

How to test store with MySQL?

  1. Create a database in your MySQL server.
  2. Run the following command with two environment variables set:
DRIVER=mysql DSN=root@/memos_test go test -v ./test/store/...
  • DRIVER should be set to mysql.
  • DSN should be set to the DSN of your MySQL server.