mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-04 03:40:09 -05:00 
			
		
		
		
	Fixes for tests
This commit is contained in:
		
							parent
							
								
									c3f05d5c8c
								
							
						
					
					
						commit
						f315ebd715
					
				@ -40,13 +40,6 @@ trait Uploadable
 | 
			
		||||
                $entity->save();
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
        else{
 | 
			
		||||
            /* Catch Failures */
 | 
			
		||||
            $settings = $entity->settings;
 | 
			
		||||
            $settings->company_logo = '';
 | 
			
		||||
            $entity->settings = $settings;
 | 
			
		||||
            $entity->save();
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@ -156,7 +156,6 @@ trait MockAccountData
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
        $this->account = Account::factory()->create();
 | 
			
		||||
        $this->company = Company::factory()->create([
 | 
			
		||||
                            'account_id' => $this->account->id,
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user