Error when setting up phpunit

Local Version: 2.3.3
Operation system: Mac
Web Host: Apache
PHP version: 7.1.4
MySQL version: 5.5
WordPress version: 4.9.8

I start the site , the right click on the site name and select open Site SSH

I then add PHPUnit file to my app folder.

I CD in the app folder on terminal .

then I put this command
bash setup-phpunit.sh

after which I get this error message

Could not install packages
No network connection detected