PHP Classes

File: phpunit/commonData.php

Recommend this page to a friend!
  Classes of Igor Dyshlenko   PHP Shell Connector   phpunit/commonData.php   Download  
File: phpunit/commonData.php
Role: Unit test script
Content type: text/plain
Description: Common data for test scripts
Class: PHP Shell Connector
Connect and run remote shell commands using ssh
Author: By
Last change:
Date: 6 years ago
Size: 324 bytes
 

Contents

Class file image Download
<?php

/*
 * Common data for phpUnit testsuites.
 */

const COMMAND = 'whoami';

if (
file_exists('./realTestLoginData.php')) {
    include_once
'./realTestLoginData.php';
} else {
   
define('HOSTNAME', 'localhost');
   
define('HOSTPORT', 22);
   
define('USERNAME', 'username');
   
define('USERPASS', 'userpassword');
}