mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-03 20:37:29 -05:00 
			
		
		
		
	* Tests for authentication * Add db field to company table (required if we are doing jobs without an auth()->user() ) * Add Laravel Dusk for browser testing, add ability to set DB by incoming URL Hash
		
			
				
	
	
		
			21 lines
		
	
	
		
			335 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			335 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
<?php
 | 
						|
 | 
						|
namespace Tests\Browser\Pages;
 | 
						|
 | 
						|
use Laravel\Dusk\Page as BasePage;
 | 
						|
 | 
						|
abstract class Page extends BasePage
 | 
						|
{
 | 
						|
    /**
 | 
						|
     * Get the global element shortcuts for the site.
 | 
						|
     *
 | 
						|
     * @return array
 | 
						|
     */
 | 
						|
    public static function siteElements()
 | 
						|
    {
 | 
						|
        return [
 | 
						|
            '@element' => '#selector',
 | 
						|
        ];
 | 
						|
    }
 | 
						|
}
 |