Update ContextTest.php

This commit is contained in:
谷溪 2020-04-21 10:09:36 +08:00 committed by GitHub
parent e0a66595e2
commit b55a76eeb6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,7 +60,6 @@ class ContextTest extends \PHPUnit\Framework\TestCase
{
Context::set('override.id', 1);
$this->assertSame(2, Context::override('override.id', function ($id) {
var_dump($id);
return $id + 1;
}));