File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,15 +6,15 @@ class PluginSettingsTest extends BrowserTestCase
66{
77 public function test_activation_and_presence_of_default_scripts (): void
88 {
9- $ this ->asAdmin ()->visit ('http://localhost:8100 /wp-admin/plugins.php ' )
9+ $ this ->asAdmin ()->visit ('/wp-admin/plugins.php ' )
1010 ->click ('#activate-simpleanalytics ' )
1111 ->assertSeeElement ('#deactivate-simpleanalytics ' )
12- ->visit ('http://localhost:8100 ' )
12+ ->visit ('/ ' )
1313 ->assertContains ('<!-- Simple Analytics: Not logging requests from admins --> ' )
1414 ->assertContains ('<script src="http://localhost:8100/wp-content/plugins/simpleanalytics/resources/js/inactive.js" ' );
1515
1616 $ this ->myBrowser ()
17- ->visit ('http://localhost:8100 ' )
17+ ->visit ('/ ' )
1818 ->assertContains ('<script src="https://scripts.simpleanalyticscdn.com/latest.js"></script> ' );
1919 }
2020}
You can’t perform that action at this time.
0 commit comments