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.
		
		
		
		
		
			| 
				
					
						
							 | 
			3 weeks ago | |
|---|---|---|
| .. | ||
| README.md | ||
| activity_test.go | 3 weeks ago | |
| attachment_test.go | 3 weeks ago | |
| idp_test.go | 3 weeks ago | |
| inbox_test.go | 3 weeks ago | |
| memo_relation_test.go | 3 weeks ago | |
| memo_test.go | 3 weeks ago | |
| migrator_test.go | 3 weeks ago | |
| reaction_test.go | 3 weeks ago | |
| store.go | 3 weeks ago | |
| user_setting_test.go | 3 weeks ago | |
| user_test.go | 3 weeks ago | |
| workspace_setting_test.go | 3 weeks 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.