[FOLLOWUP][TASK] Replace @expectedException in ext:core 09/48509/2
authorChristian Kuhn <lolli@schwarzbu.ch>
Wed, 8 Jun 2016 15:08:52 +0000 (17:08 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Wed, 8 Jun 2016 15:11:55 +0000 (17:11 +0200)
One wrong exception code in memcache cache framework tests.

Change-Id: I39b52be265b6eaaf6c2190e82f3b92d06c578f22
Resolves: #76497
Releases: master
Reviewed-on: https://review.typo3.org/48509
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Joerg Boesche <typo3@joergboesche.de>
Tested-by: Joerg Boesche <typo3@joergboesche.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/core/Tests/Unit/Cache/Backend/MemcachedBackendTest.php

index 8160bd5..9fd2bea 100644 (file)
@@ -48,7 +48,7 @@ class MemcachedBackendTest extends \TYPO3\CMS\Core\Tests\UnitTestCase
     public function setThrowsExceptionIfNoFrontEndHasBeenSet()
     {
         $this->expectException(\TYPO3\CMS\Core\Cache\Exception::class);
-        $this->expectExceptionCode(1213115903);
+        $this->expectExceptionCode(1207149215);
 
         $backendOptions = array('servers' => array('localhost:11211'));
         $backend = new MemcachedBackend('Testing', $backendOptions);