Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tests/Feature/PluginSyncServiceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -131,11 +131,11 @@ public function test_sync_does_not_read_default_branch_when_release_discovery_fa
]);

$this->assertFalse((new PluginSyncService)->sync($plugin));
Log::shouldHaveReceived('warning')->once()->with(
Log::shouldHaveReceived('warning')->with(
'[PluginSync] Could not discover latest release',
\Mockery::on(fn (array $context): bool => $context['plugin_id'] === $plugin->id
&& str_contains($context['error'], '403')),
);
)->once();
$this->assertSame('Existing documentation', $plugin->fresh()->readme_html);
$this->assertNull($plugin->fresh()->last_synced_at);
Http::assertNotSent(fn (Request $request): bool => str_contains($request->url(), '/contents/'));
Expand Down
Loading