Skip to content

Commit

Permalink
fix: add actual status
Browse files Browse the repository at this point in the history
  • Loading branch information
xoanmm committed Mar 11, 2022
1 parent cc33058 commit 587b5a9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkg/results/results_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,17 @@ package results
import (
"errors"
"fmt"
"github.com/google/go-cmp/cmp"
"log"
"os"
"testing"

"github.com/google/go-cmp/cmp"
)

const numberToUseForCheck = "74730"
const correctLotteryDrawResultsAPIURL = "http://api.elpais.com/ws/LoteriaNavidadPremiados"
const inCorrectLotteryDrawResultsAPIURLForJSONUnmarshall = "http://api.elpais.com/ws/LoteriaNavidadPremiadoss"
const actualLotteryDrawStatusCode = 1
const actualLotteryDrawStatusCode = 4
const mongoCollectionForTests = "christmas"

func TestMain(m *testing.M) {
Expand Down

0 comments on commit 587b5a9

Please sign in to comment.