Skip to content

Commit 3b36f36

Browse files
committed
Fixed tests
1 parent 51981dc commit 3b36f36

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Subscriber/UnsupportedBranchSubscriberTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ protected function setUp(): void
3535
$this->issueApi = $this->createMock(NullIssueApi::class);
3636
$symfonyVersionProvider = $this->getMockBuilder(SymfonyVersionProvider::class)
3737
->disableOriginalConstructor()
38-
->setMethods(['getSupportedVersions'])
38+
->setMethods(['getMaintainedVersions'])
3939
->getMock();
40-
$symfonyVersionProvider->method('getSupportedVersions')->willReturn(['4.4', '5.1']);
40+
$symfonyVersionProvider->method('getMaintainedVersions')->willReturn(['4.4', '5.1']);
4141

4242
$subscriber = new UnsupportedBranchSubscriber($symfonyVersionProvider, $this->issueApi, new NullLogger());
4343
$this->repository = new Repository('carsonbot-playground', 'symfony', null);

0 commit comments

Comments
 (0)