StackFlow
Laravel - Browser Tests - Assert Port Is Not
Assert that the current URL port does not match the given port:
$browser->assertPortIsNot($port);
Please enable JavaScript to view the
comments powered by Disqus.