Skip to content

Commit

Permalink
Fix failing tests on ticket config actions (#41573)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattwondra authored Apr 29, 2020
1 parent 7978d23 commit 7567326
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/state/help/ticket/test/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ describe( 'ticket-support/configuration actions', () => {
test( 'should be successful.', () => {
const action = ticketSupportConfigurationRequest()( spy );

assert( spy.calledWith( { type: HELP_TICKET_CONFIGURATION_REQUEST } ) );
assert( spy.calledWith( sinon.match( { type: HELP_TICKET_CONFIGURATION_REQUEST } ) ) );

action.then( () => {
assert(
Expand All @@ -81,7 +81,7 @@ describe( 'ticket-support/configuration actions', () => {
test( 'should be failed.', () => {
const action = ticketSupportConfigurationRequest()( spy );

assert( spy.calledWith( { type: HELP_TICKET_CONFIGURATION_REQUEST } ) );
assert( spy.calledWith( sinon.match( { type: HELP_TICKET_CONFIGURATION_REQUEST } ) ) );

action.then( () => {
assert(
Expand Down

0 comments on commit 7567326

Please sign in to comment.