mirror of
				https://github.com/beego/bee.git
				synced 2025-11-04 09:23:24 +00:00 
			
		
		
		
	@@ -519,7 +519,7 @@ func init() {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
// TestGet is a sample to run an endpoint test
 | 
					// TestGet is a sample to run an endpoint test
 | 
				
			||||||
func TestGet(t *testing.T) {
 | 
					func TestGet(t *testing.T) {
 | 
				
			||||||
	r, _ := http.NewRequest("GET", "/object", nil)
 | 
						r, _ := http.NewRequest("GET", "/v1/object", nil)
 | 
				
			||||||
	w := httptest.NewRecorder()
 | 
						w := httptest.NewRecorder()
 | 
				
			||||||
	beego.BeeApp.Handlers.ServeHTTP(w, r)
 | 
						beego.BeeApp.Handlers.ServeHTTP(w, r)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user