Skip to content

Commit 232bd42

Browse files
author
Hannes Giesenow
committed
Fix: MockClinetCallback fpr AbstractApiContext
1 parent 59907b1 commit 232bd42

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ To not send requests to a real api, you should configure the MockClient to be us
6464
when@test:
6565
framework:
6666
http_client:
67-
mock_response_factory: App\Tests\Mock\MockClientCallback
67+
mock_response_factory: Elbformat\SymfonyBehatBundle\HttpClient\MockClientCallback
6868
```
6969
7070
## Examples

doc/changelog.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Changelog
22

3+
## v1.5.5
4+
* Bugfix: Documentation and service definition for MockClientCallback to test APIs
5+
36
## v1.5.4
47
* Bugfix: Remove data from the table, that has been consumed in the constructor
58
* Improvement: Use JSON to fill array values in AbstractDatabaseContext

src/Resources/config/services.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ services:
99
# Will be added dynamically, when symfony/framework-bundle is installed
1010
#Elbformat\SymfonyBehatBundle\Context\CommandContext:
1111
# Will be added dynamically, when slope-it/clock-mock is installed
12-
#Elbformat\SymfonyBehatBundle\Context\CommandContext:
12+
#Elbformat\SymfonyBehatBundle\Context\DateContext:
1313
Elbformat\SymfonyBehatBundle\Context\FormContext:
1414
arguments:
1515
$kernel: '@kernel'
@@ -36,6 +36,7 @@ services:
3636

3737
Elbformat\SymfonyBehatBundle\Helper\ArrayDeepCompare: ~
3838
Elbformat\SymfonyBehatBundle\Helper\StringCompare: ~
39+
Elbformat\SymfonyBehatBundle\HttpClient\MockClientCallback: ~
3940
Elbformat\SymfonyBehatBundle\Logger\TestLogger: ~
4041
Elbformat\SymfonyBehatBundle\Mailer\TestTransportFactory:
4142
tags:

0 commit comments

Comments
 (0)