src/package/Data/Repositories/Support/Suites.php
public function removeMissingSuites($suites, $project)
    {
        Suite::where('project_id', $project->id)->whereNotIn('name', collect($suites)->keys())->each(function ($suite) {
            $suite->delete();
        });
    }
public function removeMissingSuites($suites, $project)
    {
        Suite::where('project_id', $project->id)->whereNotIn('name', collect($suites)->keys())->each(function ($suite) {
            $suite->delete();
        });
    }
public function removeMissingSuites ( $ suites , $ project ) { Suite :: where ( 'project_id' , $ project -> id ) -> whereNotIn ( 'name' , collect ( $ suites ) -> keys ( ) ) -> each ( function ( $ suite ) { $ suite -> delete ( ) ; } ) ; }
Remove suites that are not in present in config.

@param $suites
@param $project
Remove suites that are not in present in config .