blessing-skin-server/tests/HttpTest/MiddlewareTest/ForbiddenIETest.php
2020-03-09 12:29:00 +08:00

15 lines
316 B
PHP

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