Skip to content

Commit 661e620

Browse files
TavoNiievezmrsombre
andcommitted
Added test for doctrine connection issue
Co-authored-by: Dmitrii Barsukov <dm.barsukov@gmail.com>
1 parent 3bcab86 commit 661e620

File tree

4 files changed

+455
-324
lines changed

4 files changed

+455
-324
lines changed

README.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,29 @@ To create [Unit Tests](https://codeception.com/docs/05-UnitTests) or [Acceptance
4444
vendor/bin/codecept generate:suite Unit
4545
vendor/bin/codecept generate:suite Acceptance
4646
```
47+
48+
### Using local code for tests
49+
50+
Assuming you have the following directory structure:
51+
```
52+
Codeception/
53+
├─ module-symfony/
54+
├─ symfony-module-tests/
55+
│ ├─ composer.json
56+
│ ├─ composer.lock
57+
```
58+
59+
Add code listed below to the composer.json and run `composer update`.
60+
```
61+
{
62+
// ...
63+
"repositories": [
64+
{
65+
"type": "path",
66+
"url": "../module-symfony"
67+
}
68+
]
69+
}
70+
```
71+
72+
Don't forget to revert composer.json and run `composer update` before commit changes.

0 commit comments

Comments
 (0)