-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add PackageSynchronize command #185
Conversation
Codecov Report
@@ Coverage Diff @@
## master #185 +/- ##
=========================================
Coverage 99.91% 99.91%
- Complexity 1299 1303 +4
=========================================
Files 217 218 +1
Lines 3691 3706 +15
=========================================
+ Hits 3688 3703 +15
Misses 3 3
Continue to review full report at Codecov.
|
/** @var InMemoryTransport $transport */ | ||
$transport = $this->container()->get('messenger.transport.async'); | ||
|
||
self::assertCount(2, $transport->getSent()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why two?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there is $this->fixtures->addPackage()
before, but I've added $transport->reset()
now so we are checking only what command is doing
@@ -124,7 +124,7 @@ public function testUpdateWhenRepoDontExist(): void | |||
public function testThrowErrorWhenUpdateFails(): void | |||
{ | |||
$this->expectException(ProcessFailedException::class); | |||
$this->expectExceptionMessage('repository \'/tmp/repman/security-advisories-repo\' does not exist'); | |||
$this->expectExceptionMessage("repository '{$this->repoDir}' does not exist"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
No description provided.