From 13408a8bf9885cabacaf11ea971c6d54d49a0375 Mon Sep 17 00:00:00 2001 From: Frank Elsinga Date: Sat, 23 Sep 2023 01:30:00 +0200 Subject: [PATCH] tmp --- server/backend/feedback_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/backend/feedback_test.go b/server/backend/feedback_test.go index 88a46acd..b5d5d441 100644 --- a/server/backend/feedback_test.go +++ b/server/backend/feedback_test.go @@ -90,7 +90,7 @@ func (s *FeedbackSuite) Test_SendFeedback() { s.mock.ExpectBegin() returnedTime := time.Now() s.mock.ExpectQuery(regexp.QuoteMeta("INSERT INTO `feedback` (`image_count`,`email_id`,`receiver`,`reply_to`,`feedback`,`latitude`,`longitude`,`os_version`,`app_version`,`processed`) VALUES (?,?,?,?,?,?,?,?,?,?) RETURNING `timestamp`,`id`")). - WithArgs(0, "018abf31-8bb5-79ee-b08c-aed101c6e9f7", "app@tum.de", "testing@example.com", "Hello World", nil, nil, nil, nil, false). + WithArgs(1, "018abf31-8bb5-79ee-b08c-aed101c6e9f7", "app@tum.de", "testing@example.com", "Hello World", nil, nil, nil, nil, false). WillReturnRows(sqlmock.NewRows([]string{"timestamp", "id"}).AddRow(returnedTime, 1)) s.mock.ExpectCommit()