Skip to content

Commit

Permalink
Brian's review
Browse files Browse the repository at this point in the history
  • Loading branch information
Gus Carreon committed Aug 17, 2021
1 parent ffa3889 commit 60de4bb
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions currency/rate_converter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ func TestReadWriteRates(t *testing.T) {
wantUpdateErr bool
wantConstantRates bool
wantLastUpdated time.Time
wantDataAsOf time.Time
wantConversions map[string]map[string]float64
}{
{
Expand All @@ -63,7 +62,6 @@ func TestReadWriteRates(t *testing.T) {
giveMockResponse: getMockRates(),
giveMockStatus: 200,
wantLastUpdated: time.Date(2018, time.September, 12, 30, 0, 0, 0, time.UTC),
wantDataAsOf: time.Date(2018, time.September, 12, 0, 0, 0, 0, time.UTC),
wantConversions: map[string]map[string]float64{"USD": {"GBP": 0.77208}, "GBP": {"USD": 1.2952}},
},
{
Expand All @@ -72,7 +70,6 @@ func TestReadWriteRates(t *testing.T) {
giveMockResponse: []byte("{}"),
giveMockStatus: 200,
wantLastUpdated: time.Date(2018, time.September, 12, 30, 0, 0, 0, time.UTC),
wantDataAsOf: time.Time{},
wantConversions: nil,
},
{
Expand Down

0 comments on commit 60de4bb

Please sign in to comment.