From 709646c42e65bf2ce307cb362b1067fdf22d6b6b Mon Sep 17 00:00:00 2001
From: Andrew Downes <mrdownes@hotmail.com>
Date: Tue, 3 May 2016 17:11:08 +0100
Subject: [PATCH] Add feedback integration test

---
 tests/FeedbackSubmittedTest.php | 11 +++++++++++
 1 file changed, 11 insertions(+)
 create mode 100644 tests/FeedbackSubmittedTest.php

diff --git a/tests/FeedbackSubmittedTest.php b/tests/FeedbackSubmittedTest.php
new file mode 100644
index 0000000..1e2ea18
--- /dev/null
+++ b/tests/FeedbackSubmittedTest.php
@@ -0,0 +1,11 @@
+<?php namespace Tests;
+
+class FeedbackSubmitted extends AttemptTestCase {
+    protected function constructInput() {
+        return array_merge(parent::constructInput(), [
+            'eventname' => '\mod_feedback\event\response_submitted',
+            'objecttable' => 'feedback_completed',
+            'objectid' => 1,
+        ]);
+    }
+}
-- 
GitLab