blessing-skin-server/tests/HttpTest/MiddlewareTest/ForbiddenIETest.php
2019-09-19 22:13:25 +08:00

15 lines
322 B
PHP

<?php
namespace Tests;
class ForbiddenIETest extends TestCase
{
public function testHandle()
{
$this->get('/', ['user-agent' => 'MSIE'])
->assertSee(e(trans('errors.http.ie')));
$this->get('/', ['user-agent' => 'Trident'])
->assertSee(e(trans('errors.http.ie')));
}
}