Dashboard Test Added
This commit is contained in:
		
							
								
								
									
										16
									
								
								tests/Feature/Common/DashboardTest.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								tests/Feature/Common/DashboardTest.php
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,16 @@
 | 
			
		||||
<?php
 | 
			
		||||
 | 
			
		||||
namespace Tests\Feature\Common;
 | 
			
		||||
 | 
			
		||||
use Tests\Feature\FeatureTestCase;
 | 
			
		||||
 | 
			
		||||
class DashboardTest extends FeatureTestCase
 | 
			
		||||
{
 | 
			
		||||
    public function testItShouldSeeDashboard()
 | 
			
		||||
    {
 | 
			
		||||
        $this->loginAs()
 | 
			
		||||
            ->get(url('/'))
 | 
			
		||||
            ->assertStatus(200)
 | 
			
		||||
            ->assertSeeText(trans('general.dashboard'));
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user