Skip to content

Commit 5ecdee0

Browse files
committed
whoops - changing my backwards logic
1 parent f322d19 commit 5ecdee0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/AppBundle/Controller/WebhookController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ private function handleIssueCommentEvent(array $data)
5151
->getStatusChangeFromComment($commentText);
5252

5353
// hacky way to not actually try to talk to GitHub when testing
54-
if ($this->container->getParameter('kernel.environment') == 'test') {
54+
if ($this->container->getParameter('kernel.environment') != 'test') {
5555
$this->get('app.issue_status_changer')
5656
->setIssueStatusLabel($issueNumber, $newStatus);
5757
}

0 commit comments

Comments
 (0)