File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -164,7 +164,7 @@ public function applyDataPatch($moduleName = null)
164
164
}
165
165
if ($ dataPatch instanceof NonTransactionableInterface) {
166
166
$ dataPatch ->apply ();
167
- $ this ->patchHistory ->fixPatch ($ dataPatch );
167
+ $ this ->patchHistory ->fixPatch (get_class ( $ dataPatch) );
168
168
} else {
169
169
try {
170
170
$ this ->moduleDataSetup ->getConnection ()->beginTransaction ();
Original file line number Diff line number Diff line change @@ -366,7 +366,7 @@ public function testNonTransactionablePatch()
366
366
$ this ->connectionMock ->expects ($ this ->never ())->method ('beginTransaction ' );
367
367
$ this ->connectionMock ->expects ($ this ->never ())->method ('commit ' );
368
368
$ this ->connectionMock ->expects ($ this ->never ())->method ('rollback ' );
369
- $ this ->patchHistoryMock ->expects ($ this ->once ())->method ('fixPatch ' )->with ($ patch1 );
369
+ $ this ->patchHistoryMock ->expects ($ this ->once ())->method ('fixPatch ' )->with (get_class ( $ patch1) );
370
370
$ this ->objectManagerMock ->expects ($ this ->any ())->method ('create ' )->willReturnMap (
371
371
[
372
372
[
You can’t perform that action at this time.
0 commit comments