blessing-skin-server/tests/HttpTest/MiddlewareTest/ForbiddenIETest.php
2019-09-17 23:57:29 +08:00

13 lines
290 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'));
}
}