HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/SBogers10/werkenbij.komma.pro/app/Komma/Shop/ArtisanCommands/RunTests.php
<?php

namespace App\Komma\Shop\ArtisanCommands;

use App\Komma\Kms\ArtisanCommands\RunTests as OriginalRunTests;
use App\Komma\Shop\QualityAssurance\TestsController;

class RunTests extends OriginalRunTests
{
    /**
     * The name and signature of the console command.
     *
     * @var string
     */
    protected $signature = 'shop:test 
                            {flavor? : phpunit, dusk, phpbench. runs all if omitted (PHP Bench is currently not supported anymore.)} 
                            {--filter= : Filter which tests to run. (see phpunit manual)} 
                            {--group= : Only runs tests from the specified group(s). (see phpunit manual)}
                            {--noprep : add when you don\'t want to prepare the environment}
                            ';

    /**
     * The console command description.
     *
     * @var string
     */
    protected $description = 'Runs phpunit, dusk tests and phpbench for the shop';

    /**
     * @var TestsController $testsController
     */
    protected $testsController;

    public function __construct()
    {
        parent::__construct();
        $this->testsController = app(TestsController::class);
    }

    /**
     * @param string $type
     * @param null $flavor
     */
    protected function runTests($flavor = null, $type = 'kms')
    {
        parent::runTests($flavor, 'shop');
    }
}