Skip to content

Commit

Permalink
use int64 in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jakehobbs committed Dec 11, 2023
1 parent d601a02 commit 15da249
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions model/external_events_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ func TestInsertFacebookEvent(t *testing.T) {
defer db.Close()

event := ExternalEvent{
ID: 1111111111,
ID: int64(1111111111),
PageID: 123123123123,
Name: "Test Event 1",
Description: "This is a test event.",
Expand Down Expand Up @@ -52,7 +52,7 @@ func TestGetFacebookEvents(t *testing.T) {
const pageOther int = 456456456456

event1 := ExternalEvent{
ID: 1111111111,
ID: int64(1111111111),
PageID: pageBerkeley,
Name: "Test Event 1",
Description: "This is a test event in Berkeley.",
Expand All @@ -74,7 +74,7 @@ func TestGetFacebookEvents(t *testing.T) {
}

event2 := ExternalEvent{
ID: 2222222222,
ID: int64(2222222222),
PageID: pageOther,
Name: "Test Event 2",
Description: "This is a test event in NY.",
Expand All @@ -96,7 +96,7 @@ func TestGetFacebookEvents(t *testing.T) {
}

event3 := ExternalEvent{
ID: 3333333333,
ID: int64(3333333333),
PageID: pageOther,
Name: "Test Event 3",
Description: "This is a test event in NY at a later date.",
Expand All @@ -118,7 +118,7 @@ func TestGetFacebookEvents(t *testing.T) {
}

event4 := ExternalEvent{
ID: 4444444444,
ID: int64(4444444444),
PageID: pageOther,
Name: "Test Event 4",
Description: "This is a test event that was cancelled.",
Expand All @@ -140,7 +140,7 @@ func TestGetFacebookEvents(t *testing.T) {
}

event5 := ExternalEvent{
ID: 5555555555,
ID: int64(5555555555),
PageID: pageBerkeley,
Name: "Test Event 5",
Description: "This is an online event hosted by Berkeley.",
Expand Down

0 comments on commit 15da249

Please sign in to comment.