Improve code coverage

This commit is contained in:
David Bomba 2019-04-20 09:02:49 +10:00
parent ec47a1a9b2
commit 0ba63519ea
6 changed files with 21 additions and 3 deletions

View File

@ -16,7 +16,8 @@ use Illuminate\Http\Request;
use Illuminate\Support\Facades\Session; use Illuminate\Support\Facades\Session;
use Tests\TestCase; use Tests\TestCase;
/* /**
* @test
* @covers App\Http\Controllers\AccountController * @covers App\Http\Controllers\AccountController
*/ */

View File

@ -16,6 +16,10 @@ use Illuminate\Support\Facades\Log;
use Illuminate\Support\Facades\Session; use Illuminate\Support\Facades\Session;
use Tests\TestCase; use Tests\TestCase;
/**
* @test
* @covers App\Http\Controllers\ClientController
*/
class ClientTest extends TestCase class ClientTest extends TestCase
{ {
use MakesHash; use MakesHash;

View File

@ -12,8 +12,9 @@ use Illuminate\Foundation\Testing\WithFaker;
use Illuminate\Support\Facades\Session; use Illuminate\Support\Facades\Session;
use Tests\TestCase; use Tests\TestCase;
/* /**
* @covers InvoiceController * @test
* @covers App\Http\Controllers\InvoiceController
*/ */
class InvoiceTest extends TestCase class InvoiceTest extends TestCase

View File

@ -13,6 +13,10 @@ use Illuminate\Http\Request;
use Illuminate\Support\Facades\Session; use Illuminate\Support\Facades\Session;
use Tests\TestCase; use Tests\TestCase;
/**
* @test
* @covers App\Http\Controllers\Auth\LoginController
*/
class LoginTest extends TestCase class LoginTest extends TestCase
{ {

View File

@ -17,6 +17,10 @@ use Illuminate\Support\Facades\Log;
use Illuminate\Support\Facades\Session; use Illuminate\Support\Facades\Session;
use Tests\TestCase; use Tests\TestCase;
/**
* @test
* @covers App\Http\Controllers\ProductController
*/
class ProductTest extends TestCase class ProductTest extends TestCase
{ {
use MakesHash; use MakesHash;

View File

@ -6,6 +6,10 @@ use App\DataMapper\DefaultSettings;
use App\Models\Client; use App\Models\Client;
use Tests\TestCase; use Tests\TestCase;
/**
* @test
*/
class EvaluateStringTest extends TestCase class EvaluateStringTest extends TestCase
{ {