File tree 2 files changed +7
-3
lines changed
tests/unit/Mage/Core/Model
2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 868
868
' Documentation ' :
869
869
- changed-files :
870
870
- any-glob-to-any-file : [
871
- docs/*.md
872
- docs/**/*.md
871
+ docs/*.md,
872
+ docs/**/*.md,
873
873
docs_includes/*.md
874
874
]
875
875
Original file line number Diff line number Diff line change @@ -125,7 +125,11 @@ public function provideGetBlockSingleton(): Generator
125
125
public function testGetBlockSingletonError (): void
126
126
{
127
127
$ this ->expectException (\Error::class);
128
- $ this ->expectExceptionMessage ("Class 'Mage_Invalid_Block_Type' not found " );
128
+ if (PHP_VERSION_ID >= 80000 ) {
129
+ $ this ->expectExceptionMessage ('Class "Mage_Invalid_Block_Type" not found ' );
130
+ } else {
131
+ $ this ->expectExceptionMessage ("Class 'Mage_Invalid_Block_Type' not found " );
132
+ }
129
133
130
134
$ this ->subject ->getBlockSingleton ('invalid/type ' );
131
135
}
You can’t perform that action at this time.
0 commit comments