Skip to content

Commit b06cceb

Browse files
author
Vladislav Panfilov
committed
feat: add tests
1 parent b10774a commit b06cceb

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

tests/Unit/ExampleTest.php

+12
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<?php
22

33
use PHPUnit\Framework\TestCase;
4+
use PHPUnit\Framework\Attributes\Test;
45

56
class ExampleTest extends TestCase
67
{
@@ -37,6 +38,17 @@ public function this_should_not_run()
3738
$this->assertTrue(true);
3839
}
3940

41+
public function this_test_should_not_run_also()
42+
{
43+
$this->assertTrue(true);
44+
}
45+
46+
#[Test]
47+
public function this_test_should_run()
48+
{
49+
$this->assertTrue(true);
50+
}
51+
4052
/**
4153
* @dataProvider myProvider
4254
*/

0 commit comments

Comments
 (0)