Fixes for testing to pass

This commit is contained in:
Deon George 2022-06-14 17:03:58 +10:00
parent 768744ad27
commit 8ba6a93214
2 changed files with 2 additions and 1 deletions

View File

@ -10,6 +10,7 @@ class CostController extends Controller
{ {
public function home(Cost $o) public function home(Cost $o)
{ {
// @todo Need to add the services that are active that are not on the bill for the supplier.
return view('a.cost.home',['o'=>$o]); return view('a.cost.home',['o'=>$o]);
} }
} }

View File

@ -13,7 +13,7 @@ return new class extends Migration
*/ */
public function up() public function up()
{ {
$this->down(); DB::statement('RENAME TABLE service__generic TO service_generic');
Schema::create('costs', function (Blueprint $table) { Schema::create('costs', function (Blueprint $table) {
$table->integer('id',TRUE,TRUE); $table->integer('id',TRUE,TRUE);
$table->timestamps(); $table->timestamps();