We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1ac737a commit 9accba7Copy full SHA for 9accba7
1 file changed
test/Cases/ExampleTest.php
@@ -11,17 +11,16 @@
11
*/
12
namespace HyperfTest\Cases;
13
14
-use HyperfTest\HttpTestCase;
+use Hyperf\Testing\TestCase;
15
16
/**
17
* @internal
18
* @coversNothing
19
20
-class ExampleTest extends HttpTestCase
+class ExampleTest extends TestCase
21
{
22
public function testExample()
23
24
- $this->assertTrue(true);
25
- $this->assertTrue(is_array($this->get('/')));
+ $this->get('/')->assertOk()->assertSee('Hyperf');
26
}
27
0 commit comments