Skip to content

Commit 67177e8

Browse files
committed
Update test class namespace in getting-started documentation
1 parent 757aab7 commit 67177e8

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/getting-started.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,14 +57,14 @@ In this example we defined two test suites: `Unit` for unit tests located in `te
5757

5858
## Writing Your First Test
5959

60-
Create a test class in the configured test directory (e.g., `tests/CalculatorTest.php`):
60+
Create a test class in the configured test directory (e.g., `tests/Unit/CalculatorTest.php`):
6161

6262
```php
6363
<?php
6464

6565
declare(strict_types=1);
6666

67-
namespace Tests;
67+
namespace Tests\Unit;
6868

6969
use Testo\Assert;
7070
use Testo\Assert\ExpectException;

ru/docs/getting-started.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,14 +52,14 @@ return new ApplicationConfig(
5252

5353
## Написание первого теста
5454

55-
Создайте тестовый класс в настроенной директории (например, `tests/CalculatorTest.php`):
55+
Создайте тестовый класс в настроенной директории (например, `tests/Unit/CalculatorTest.php`):
5656

5757
```php
5858
<?php
5959

6060
declare(strict_types=1);
6161

62-
namespace Tests;
62+
namespace Tests\Unit;
6363

6464
use Testo\Assert;
6565
use Testo\Assert\ExpectException;

0 commit comments

Comments
 (0)