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.
|
||||
.env
|
||||
.phpunit.result.cache
|
||||
Homestead.yaml
|
||||
Homestead.json
|
||||
/config/lfm.php
|
||||
|
@@ -242,7 +242,7 @@ class PhpMailController extends Controller
|
||||
}
|
||||
|
||||
// $mail->addBCC($bc);
|
||||
$size = count($attach);
|
||||
$size = ($attach) ? count($attach) : 0;
|
||||
if ($size > 0) {
|
||||
for ($i = 0; $i < $size; $i++) {
|
||||
if (is_array($attach) && array_key_exists($i, $attach)) {
|
||||
|
@@ -7,8 +7,7 @@
|
||||
convertNoticesToExceptions="true"
|
||||
convertWarningsToExceptions="true"
|
||||
processIsolation="false"
|
||||
stopOnFailure="false"
|
||||
syntaxCheck="false">
|
||||
stopOnFailure="false">
|
||||
<testsuites>
|
||||
<testsuite name="Application Test Suite">
|
||||
<directory>./tests/</directory>
|
||||
|
@@ -9,8 +9,6 @@ class ExampleTest extends TestCase
|
||||
*/
|
||||
public function testBasicExample()
|
||||
{
|
||||
// $response = $this->call('GET', '/');
|
||||
|
||||
// $this->assertEquals(200, $response->getStatusCode());
|
||||
$this->assertEquals(1, 55-54);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user