~bigbes/core-go

6d45601dca1c0c281a59196688b9a82f1a38c760 — Drew DeVault 5 years ago 03619ed
webhooks/legacy_test.go: style
1 files changed, 2 insertions(+), 4 deletions(-)

M webhooks/legacy_test.go
M webhooks/legacy_test.go => webhooks/legacy_test.go +2 -4
@@ 77,10 77,8 @@ func TestDelivery(t *testing.T) {
	mock.ExpectQuery(`SELECT .* FROM user_webhook_subscription`).
		WillReturnRows(sqlmock.NewRows([]string{
			"id", "created", "url", "events",
		}).AddRow(
			1337, time.Now().UTC(),
			srv.URL + "/webhook",
			"profile:update")).
		}).AddRow(1337, time.Now().UTC(),
			srv.URL + "/webhook", "profile:update")).
		WithArgs(42, sqlmock.AnyArg()) // Any => events LIKE %profile:update%
	mock.ExpectCommit()