Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
unknwon committed Feb 18, 2020
1 parent 03a4d3a commit 9bde19f
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions cmd/frontend/db/event_logs_test.go
Expand Up @@ -28,11 +28,6 @@ func TestEventLogs_ValidInfo(t *testing.T) {
event: &Event{UserID: 1, URL: "http://sourcegraph.com", Source: "WEB"},
err: `INSERT: pq: new row for relation "event_logs" violates check constraint "event_logs_check_name_not_empty"`,
},
{
name: "EmptyURL",
event: &Event{Name: "test_event", UserID: 1, Source: "WEB"},
err: `INSERT: pq: new row for relation "event_logs" violates check constraint "event_logs_check_url_not_empty"`,
},
{
name: "InvalidUser",
event: &Event{Name: "test_event", URL: "http://sourcegraph.com", Source: "WEB"},
Expand Down

0 comments on commit 9bde19f

Please sign in to comment.