File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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}
You can’t perform that action at this time.
0 commit comments