aboutsummaryrefslogtreecommitdiffstats
path: root/models
diff options
context:
space:
mode:
Diffstat (limited to 'models')
-rw-r--r--models/migrations/testlogger_test.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/models/migrations/testlogger_test.go b/models/migrations/testlogger_test.go
index 01d6b7a0f7..c087e311c2 100644
--- a/models/migrations/testlogger_test.go
+++ b/models/migrations/testlogger_test.go
@@ -166,6 +166,11 @@ func (log *TestLogger) Init(config string) error {
return nil
}
+// Content returns the content accumulated in the content provider
+func (log *TestLogger) Content() (string, error) {
+ return "", fmt.Errorf("not supported")
+}
+
// Flush when log should be flushed
func (log *TestLogger) Flush() {
}