[BUGFIX] Adapt glitches of context patch
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Tests / Unit / Context / ContextTest.php
index b501b3a..b106d7b 100644 (file)
@@ -108,6 +108,7 @@ class ContextTest extends UnitTestCase
         ]);
 
         $this->expectException(AspectNotFoundException::class);
+        $this->expectExceptionCode(1527777641);
         $subject->getAspect('uncoolio');
     }
 
@@ -135,6 +136,7 @@ class ContextTest extends UnitTestCase
         ]);
 
         $this->expectException(AspectNotFoundException::class);
+        $this->expectExceptionCode(1527777868);
         $subject->getPropertyFromAspect('uncoolio', 'does not matter');
     }