summaryrefslogtreecommitdiffstats
path: root/resources/image_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'resources/image_test.go')
-rw-r--r--resources/image_test.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/resources/image_test.go b/resources/image_test.go
index 655454390..3cb1089f4 100644
--- a/resources/image_test.go
+++ b/resources/image_test.go
@@ -14,6 +14,7 @@
package resources
import (
+ "context"
"fmt"
"image"
"image/gif"
@@ -436,7 +437,7 @@ func TestSVGImageContent(t *testing.T) {
svg := fetchResourceForSpec(spec, c, "circle.svg")
c.Assert(svg, qt.Not(qt.IsNil))
- content, err := svg.Content()
+ content, err := svg.Content(context.Background())
c.Assert(err, qt.IsNil)
c.Assert(content, hqt.IsSameType, "")
c.Assert(content.(string), qt.Contains, `<svg height="100" width="100">`)