Added sample test case for travis
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,5 +1,6 @@
|
|||||||
# Please try and keep this file organized by alphabetical order. Single files first, then directories.
|
# Please try and keep this file organized by alphabetical order. Single files first, then directories.
|
||||||
.env
|
.env
|
||||||
|
.phpunit.result.cache
|
||||||
Homestead.yaml
|
Homestead.yaml
|
||||||
Homestead.json
|
Homestead.json
|
||||||
/config/lfm.php
|
/config/lfm.php
|
||||||
|
@@ -242,7 +242,7 @@ class PhpMailController extends Controller
|
|||||||
}
|
}
|
||||||
|
|
||||||
// $mail->addBCC($bc);
|
// $mail->addBCC($bc);
|
||||||
$size = count($attach);
|
$size = ($attach) ? count($attach) : 0;
|
||||||
if ($size > 0) {
|
if ($size > 0) {
|
||||||
for ($i = 0; $i < $size; $i++) {
|
for ($i = 0; $i < $size; $i++) {
|
||||||
if (is_array($attach) && array_key_exists($i, $attach)) {
|
if (is_array($attach) && array_key_exists($i, $attach)) {
|
||||||
|
@@ -7,8 +7,7 @@
|
|||||||
convertNoticesToExceptions="true"
|
convertNoticesToExceptions="true"
|
||||||
convertWarningsToExceptions="true"
|
convertWarningsToExceptions="true"
|
||||||
processIsolation="false"
|
processIsolation="false"
|
||||||
stopOnFailure="false"
|
stopOnFailure="false">
|
||||||
syntaxCheck="false">
|
|
||||||
<testsuites>
|
<testsuites>
|
||||||
<testsuite name="Application Test Suite">
|
<testsuite name="Application Test Suite">
|
||||||
<directory>./tests/</directory>
|
<directory>./tests/</directory>
|
||||||
|
@@ -9,8 +9,6 @@ class ExampleTest extends TestCase
|
|||||||
*/
|
*/
|
||||||
public function testBasicExample()
|
public function testBasicExample()
|
||||||
{
|
{
|
||||||
// $response = $this->call('GET', '/');
|
$this->assertEquals(1, 55-54);
|
||||||
|
|
||||||
// $this->assertEquals(200, $response->getStatusCode());
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user