jadjoubran/laravel5-angular-material-starter

View on GitHub
tests/LaravelRoutesTest.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php


class LaravelRoutesTest extends TestCase
{
    /**
     * A basic functional test example.
     *
     * @return void
     */
    public function testLandingResponseCode()
    {
        $response = $this->call('GET', '/');

        $this->assertEquals(200, $response->status());
    }

    public function testUnsupportedBrowserPage()
    {
        $this->visit('/unsupported-browser')
             ->see('update your browser')
             ->see('Internet Explorer');
    }
}