File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 7
7
use stdClass ;
8
8
9
9
use function PHPUnit \Framework \assertIsString ;
10
- use function PHPUnit \Framework \assertObjectHasAttribute ;
10
+ use function PHPUnit \Framework \assertObjectHasProperty ;
11
11
12
12
trait ManagesFailPointsTrait
13
13
{
@@ -16,9 +16,9 @@ trait ManagesFailPointsTrait
16
16
17
17
public function configureFailPoint (stdClass $ failPoint , Server $ server ): void
18
18
{
19
- assertObjectHasAttribute ('configureFailPoint ' , $ failPoint );
19
+ assertObjectHasProperty ('configureFailPoint ' , $ failPoint );
20
20
assertIsString ($ failPoint ->configureFailPoint );
21
- assertObjectHasAttribute ('mode ' , $ failPoint );
21
+ assertObjectHasProperty ('mode ' , $ failPoint );
22
22
23
23
$ operation = new DatabaseCommand ('admin ' , $ failPoint );
24
24
$ operation ->execute ($ server );
You can’t perform that action at this time.
0 commit comments