1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
Description: Fix fixtures pathname in test case
Author: Guillem Jover <gjover@sipwise.com>
Origin: vendor
Forwarded: no
---
loads_test/spec_circular_test.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/loads_test/spec_circular_test.go
+++ b/loads_test/spec_circular_test.go
@@ -11,7 +11,7 @@ import (
)
func TestPathLoaderIssue(t *testing.T) {
- swaggerFile := "fixtures/json/resources/pathLoaderIssue.json"
+ swaggerFile := "../fixtures/json/resources/pathLoaderIssue.json"
document, err := loads.Spec(swaggerFile)
require.NoError(t, err)
require.NotNil(t, document)
|