Skip to content

Commit 7cdef26

Browse files
committed
Bump the "rybakit/phpunit-extras" version to 0.2
1 parent e45b6c7 commit 7cdef26

File tree

2 files changed

+18
-2
lines changed

2 files changed

+18
-2
lines changed

README.md

+16
Original file line numberDiff line numberDiff line change
@@ -240,12 +240,28 @@ These methods are part of the `Tarantool\PhpUnit\TestCase` class, but they can a
240240

241241
```php
242242
use PHPUnit\Framework\TestCase;
243+
use PHPUnitExtras\Expectation\Expectations as BaseExpectations;
244+
use Tarantool\Client\Client;
243245
use Tarantool\PhpUnit\Expectation\RequestExpectations;
244246

245247
final class MyTest extends TestCase
246248
{
249+
use BaseExpectations;
247250
use RequestExpectations;
248251

252+
protected function getClient() : Client
253+
{
254+
// TODO: Implement getClient() method.
255+
}
256+
257+
/**
258+
* @after
259+
*/
260+
protected function verifyTestCaseExpectations() : void
261+
{
262+
$this->verifyExpectations();
263+
}
264+
249265
// ...
250266
}
251267
```

composer.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
"composer/semver": "^1.5",
1616
"ocramius/package-versions": "^1.4",
1717
"rybakit/msgpack": "^0.7",
18-
"rybakit/phpunit-extras": "^0.1",
18+
"rybakit/phpunit-extras": "^0.2",
1919
"symfony/expression-language": "^3.3|^4|^5",
20-
"tarantool/client": "^0.7"
20+
"tarantool/client": "^0.7|^0.8"
2121
},
2222
"require-dev": {
2323
"php": "^7.1.3",

0 commit comments

Comments
 (0)