[BUGFIX] Failing test due to Log exception renaming 78/21878/2
authorMarkus Klein <klein.t3@mfc-linz.at>
Thu, 4 Jul 2013 15:17:57 +0000 (17:17 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Thu, 4 Jul 2013 16:07:18 +0000 (18:07 +0200)
Resolves: #49663
Releases: 6.2
Change-Id: Ia4bcec1e1446fa639f9fed5ef67f96146786cfaf
Reviewed-on: https://review.typo3.org/21878
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
typo3/sysext/core/Tests/Unit/Log/LogRecordTest.php

index 57f1822..4b4ad4e 100644 (file)
@@ -101,7 +101,7 @@ class RecordTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
 
        /**
         * @test
-        * @expectedException RangeException
+        * @expectedException Psr\Log\InvalidArgumentException
         */
        public function setLevelValidatesLevel() {
                $record = $this->getRecord();