test for video
This commit is contained in:
@@ -232,7 +232,7 @@ func TestRoboflowIntegration(t *testing.T) {
|
||||
|
||||
t.Run("AnalyzeImage with valid image", func(t *testing.T) {
|
||||
// Load a test image (you should place a suitable test image in testdata/)
|
||||
imageData, err := os.ReadFile("/home/rogueking/Documents/junk2jive-server/test.png")
|
||||
imageData, err := os.ReadFile("./test2.jpg")
|
||||
require.NoError(t, err, "Failed to load test image")
|
||||
|
||||
service := NewService()
|
||||
|
||||
@@ -150,4 +150,4 @@ func getAllRoutes(router *chi.Mux) []string {
|
||||
|
||||
_ = chi.Walk(router, walkFunc)
|
||||
return routes
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user