fixed sample-data send mail issue..
This commit is contained in:
		@@ -26,10 +26,14 @@ abstract class Factory extends BaseFactory
 | 
			
		||||
    {
 | 
			
		||||
        parent::__construct(...$arguments);
 | 
			
		||||
 | 
			
		||||
        config(['mail.default' => 'array']);
 | 
			
		||||
 | 
			
		||||
        $this->user = User::first();
 | 
			
		||||
        $this->company = $this->user->companies()->first();
 | 
			
		||||
 | 
			
		||||
        company($this->company->id)->makeCurrent();
 | 
			
		||||
 | 
			
		||||
        app('url')->defaults(['company_id' => company_id()]);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public function getCompanyUsers()
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user