Skip to content

Commit 0b85c78

Browse files
committed
Replacing a bunch of tests that I didn't realize weren't being run!
Fortunately, the one tiny "fix" for a test was not a significant failure.
1 parent 114c50f commit 0b85c78

File tree

5 files changed

+339
-273
lines changed

5 files changed

+339
-273
lines changed

src/AppBundle/Subscriber/BugLabelNewIssueSubscriber.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,7 @@ public function onIssues(GitHubEvent $event)
3737

3838
$responseData = array('issue' => $issueNumber = $data['issue']['number']);
3939
// Ignore non-bugs or issue which already has a status
40-
$currentStatus = $currentStatus = $this->statusApi->getIssueStatus($issueNumber, $repository);
41-
if ('bug' !== strtolower($data['label']['name']) || null !== $currentStatus) {
40+
if ('bug' !== strtolower($data['label']['name']) || null !== $this->statusApi->getIssueStatus($issueNumber, $repository)) {
4241
$responseData['status_change'] = null;
4342
$event->setResponseData($responseData);
4443

src/AppBundle/Tests/Issues/IssueListenerTest.php

Lines changed: 0 additions & 271 deletions
This file was deleted.

0 commit comments

Comments
 (0)