File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 472472 expect ($ result )->toBeInstanceOf (PingResult::class);
473473 expect ($ result ->isSuccess ())->toBeTrue ();
474474 expect ($ result ->ipVersion ())->toBe (\Spatie \Ping \Enums \IpVersion::IPv4);
475- });
475+ })-> skipOnGitHubActions () ;
476476
477477it ('can force IPv6 ' , function () {
478478 $ checker = (new Ping ('google.com ' ))
489489 $ checker = new Ping ('example.com ' );
490490
491491 expect ($ checker ->run ()->ipVersion ())->toBe (\Spatie \Ping \Enums \IpVersion::IPv4);
492- });
492+ })-> skipOnGitHubActions () ;
493493
494494it ('includes ip_version in toArray output ' , function () {
495495 $ checker = new Ping ('8.8.8.8 ' );
499499
500500 expect ($ array ['options ' ])->toHaveKey ('ip_version ' );
501501 expect ($ array ['options ' ]['ip_version ' ])->toBe ('ipv4 ' );
502- });
502+ })-> skipOnGitHubActions () ;
503503
504504it ('can create PingResult from toArray with ip_version ' , function () {
505505 $ originalData = [
You can’t perform that action at this time.
0 commit comments