Skip to content

Commit

Permalink
missed one data read
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkingmedia committed Aug 30, 2016
1 parent 9e06527 commit 783d09f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TestSuite/Constraint/EventFiredWith.php
Expand Up @@ -93,7 +93,7 @@ public function matches($other)
return false;
}

return $event->data[$this->_dataKey] === $this->_dataValue;
return $event->data($this->_dataKey) === $this->_dataValue;
}

/**
Expand Down

0 comments on commit 783d09f

Please sign in to comment.