Skip to content

Commit

Permalink
Get ready for v1.1.11
Browse files Browse the repository at this point in the history
  • Loading branch information
HenryAtUber committed Jun 16, 2020
1 parent ca5ec7c commit 8806db6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion go/mockathenaclient_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ import (
"github.com/aws/aws-sdk-go/aws/request"
"github.com/aws/aws-sdk-go/service/athena"
"github.com/aws/aws-sdk-go/service/athena/athenaiface"
"strings"
)

// genQueryResultsOutputByToken is a function type with string as parameter.
Expand Down Expand Up @@ -127,7 +128,7 @@ func (m *mockAthenaClient) CreateWorkGroup(*athena.CreateWorkGroupInput) (

func (m *mockAthenaClient) StartQueryExecution(s *athena.
StartQueryExecutionInput) (*athena.StartQueryExecutionOutput, error) {
if *s.QueryString == "select 1" { // Ping
if strings.ToLower(*s.QueryString) == "select 1" { // Ping
qid := "PING_OK_QID"
return &athena.StartQueryExecutionOutput{
QueryExecutionId: &qid,
Expand Down

0 comments on commit 8806db6

Please sign in to comment.