File tree Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 15
15
"dantleech/glob-finder" : " ^1.0"
16
16
},
17
17
"require-dev" : {
18
- "phpunit/phpunit" : " ^8.5 || ^ 9.5" ,
18
+ "phpunit/phpunit" : " ^9.5" ,
19
19
"behat/behat" : " ^3.6" ,
20
20
"phpspec/phpspec" : " ^6.0 || ^7.0" ,
21
21
"jackalope/jackalope-doctrine-dbal" : " ^1.3" ,
22
- "jackalope/jackalope-jackrabbit" : " ^1.3"
22
+ "jackalope/jackalope-jackrabbit" : " ^1.3" ,
23
+ "phpspec/prophecy-phpunit" : " ^2.0"
23
24
},
24
25
"suggest" : {
25
26
"jackalope/jackalope-doctrine-dbal" : " To connect to jackalope doctrine-dbal" ,
Original file line number Diff line number Diff line change 14
14
15
15
use PHPCR \NodeInterface ;
16
16
use PHPUnit \Framework \TestCase ;
17
+ use Prophecy \PhpUnit \ProphecyTrait ;
17
18
18
19
class NodeHelperTest extends TestCase
19
20
{
21
+ use ProphecyTrait;
22
+
20
23
protected $ nodeHelper ;
21
24
22
25
public function setUp (): void
Original file line number Diff line number Diff line change 14
14
15
15
use PHPCR \PathNotFoundException ;
16
16
use PHPUnit \Framework \TestCase ;
17
+ use Prophecy \PhpUnit \ProphecyTrait ;
17
18
18
19
class PhpcrSessionTest extends TestCase
19
20
{
21
+ use ProphecyTrait;
22
+
20
23
public function setUp (): void
21
24
{
22
25
$ this ->phpcr = $ this ->prophesize ('PHPCR\SessionInterface ' );
You can’t perform that action at this time.
0 commit comments