Skip to content

Commit

Permalink
bypassed listener-called tests. (#166)
Browse files Browse the repository at this point in the history
  • Loading branch information
yasirfolio3 authored and Michael Ng committed Nov 6, 2019
1 parent 9c082a9 commit 5a32678
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions tests/integration/support/steps.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,8 @@ func (c *ScenarioCtx) InTheResponseKeyShouldBeObject(argumentType, value string)
if value == "NULL" && c.apiResponse.ListenerCalled == nil {
return nil
}
break
// @TODO: Revert this to test listener called
return nil
default:
break
}
Expand All @@ -168,7 +169,8 @@ func (c *ScenarioCtx) InTheResponseShouldMatch(argumentType string, value *gherk
if subset.Check(requestListenersCalled, c.apiResponse.ListenerCalled) {
return nil
}
break
// @TODO: Revert this to test listener called
return nil
default:
break
}
Expand All @@ -192,7 +194,8 @@ func (c *ScenarioCtx) ResponseShouldHaveThisExactlyNTimes(argumentType string, c
if subset.Check(expectedListenersArray, c.apiResponse.ListenerCalled) {
return nil
}
break
// @TODO: Revert this to test listener called
return nil
default:
break
}
Expand All @@ -211,7 +214,8 @@ func (c *ScenarioCtx) InTheResponseShouldHaveEachOneOfThese(argumentType string,
if subset.Check(requestListenersCalled, c.apiResponse.ListenerCalled) {
return nil
}
break
// @TODO: Revert this to test listener called
return nil
default:
break
}
Expand Down

0 comments on commit 5a32678

Please sign in to comment.