Skip to content

Commit eefcb85

Browse files
simonhampclaude
andcommitted
Remove viewGithub tests for removed action
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 61a1bc2 commit eefcb85

1 file changed

Lines changed: 0 additions & 23 deletions

File tree

tests/Feature/Filament/ResyncPluginActionTest.php

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -64,27 +64,4 @@ public function test_resync_action_hidden_when_no_repository_url(): void
6464
->test(EditPlugin::class, ['record' => $plugin->getRouteKey()])
6565
->assertActionHidden('resync');
6666
}
67-
68-
public function test_view_github_action_uses_repository_url(): void
69-
{
70-
$plugin = Plugin::factory()->free()->approved()->create([
71-
'repository_url' => 'https://github.com/acme/test-plugin',
72-
]);
73-
74-
Livewire::actingAs($this->admin)
75-
->test(EditPlugin::class, ['record' => $plugin->getRouteKey()])
76-
->assertActionVisible('viewGithub')
77-
->assertActionHasUrl('viewGithub', 'https://github.com/acme/test-plugin');
78-
}
79-
80-
public function test_view_github_action_hidden_when_no_repository_url(): void
81-
{
82-
$plugin = Plugin::factory()->free()->approved()->create([
83-
'repository_url' => null,
84-
]);
85-
86-
Livewire::actingAs($this->admin)
87-
->test(EditPlugin::class, ['record' => $plugin->getRouteKey()])
88-
->assertActionHidden('viewGithub');
89-
}
9067
}

0 commit comments

Comments
 (0)