Skip to content

Commit 497760d

Browse files
committed
refactor: update test classes to use modern App\Tests namespace
1 parent 11ed648 commit 497760d

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

web/app/tests/FooTest.php

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<?php
2+
3+
namespace App\Tests;
4+
5+
use App\Foo;
6+
use PHPUnit\Framework\TestCase;
7+
8+
class FooTest extends TestCase
9+
{
10+
public function testGetName()
11+
{
12+
$foo = new Foo();
13+
$this->assertEquals($foo->getName(), 'Docker Nginx PHP MySQL');
14+
}
15+
}

0 commit comments

Comments
 (0)