File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
lib/internal/Magento/Framework/App/Test/Unit/Cache Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ function () use ($resource) {
85
85
/**
86
86
* @return void
87
87
*/
88
- public function testAroundDelete (): void
88
+ public function testAfterDelete (): void
89
89
{
90
90
$ resource = $ this ->getMockBuilder (AbstractResource::class)
91
91
->disableOriginalConstructor ()
@@ -95,11 +95,9 @@ public function testAroundDelete(): void
95
95
->getMockForAbstractClass ();
96
96
$ this ->tagResolver ->expects ($ this ->atLeastOnce ())->method ('getTags ' )->with ($ model )->willReturn ([]);
97
97
98
- $ result = $ this ->plugin ->aroundDelete (
98
+ $ result = $ this ->plugin ->afterDelete (
99
+ $ resource ,
99
100
$ resource ,
100
- function () use ($ resource ) {
101
- return $ resource ;
102
- },
103
101
$ model
104
102
);
105
103
You can’t perform that action at this time.
0 commit comments