diff --git a/setup/src/Magento/Setup/Test/Unit/Console/Command/DiCompileCommandTest.php b/setup/src/Magento/Setup/Test/Unit/Console/Command/DiCompileCommandTest.php
index e2127697d81bbb0b6eaa3dcc3673b14b6e786af9..068093ba88850470fc10e99ff0ec0c29ee384217 100644
--- a/setup/src/Magento/Setup/Test/Unit/Console/Command/DiCompileCommandTest.php
+++ b/setup/src/Magento/Setup/Test/Unit/Console/Command/DiCompileCommandTest.php
@@ -70,6 +70,9 @@ class DiCompileCommandTest extends \PHPUnit_Framework_TestCase
         $this->manager->expects($this->once())->method('process');
         $tester = new CommandTester($this->command);
         $tester->execute([]);
-        $this->assertEquals('Generated code and DI configuration successfully.' . PHP_EOL, $tester->getDisplay());
+        $this->assertEquals(
+            'Generated code and dependency injection configuration successfully.' . PHP_EOL,
+            $tester->getDisplay()
+        );
     }
 }