disable sending of emails when running tests completely when run on travis
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
@@ -138,7 +138,7 @@ class FtpsTest extends TestCase
|
||||
'ftp_password' => 'h4xXx0r',
|
||||
'path' => '/',
|
||||
'ftp_description' => 'testing',
|
||||
'sendinfomail' => 1
|
||||
'sendinfomail' => TRAVIS_CI == 1 ? 0 : 1
|
||||
];
|
||||
$json_result = Ftps::getLocal($customer_userdata, $data)->add();
|
||||
$result = json_decode($json_result, true)['data'];
|
||||
@@ -236,7 +236,7 @@ class FtpsTest extends TestCase
|
||||
'ftp_password' => 'h4xXx0r',
|
||||
'path' => '/',
|
||||
'ftp_description' => 'testing',
|
||||
'sendinfomail' => 1
|
||||
'sendinfomail' => TRAVIS_CI == 1 ? 0 : 1
|
||||
];
|
||||
$json_result = Ftps::getLocal($admin_userdata, $data)->add();
|
||||
$result = json_decode($json_result, true)['data'];
|
||||
|
||||
Reference in New Issue
Block a user