From a9118fd954c6a3b4244ca24dcd5c8e8d29ce7b7c Mon Sep 17 00:00:00 2001
From: Safwan Khan <safwkhan@ebay.com>
Date: Fri, 24 Apr 2015 10:45:09 -0500
Subject: [PATCH] MAGETWO-36068: Move dev/shell/log.php

- Changes based on CR feedback.
---
 .../Log/Test/Unit/Console/Command/LogStatusCommandTest.php  | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/app/code/Magento/Log/Test/Unit/Console/Command/LogStatusCommandTest.php b/app/code/Magento/Log/Test/Unit/Console/Command/LogStatusCommandTest.php
index 1615927d02f..68999b1372b 100644
--- a/app/code/Magento/Log/Test/Unit/Console/Command/LogStatusCommandTest.php
+++ b/app/code/Magento/Log/Test/Unit/Console/Command/LogStatusCommandTest.php
@@ -19,7 +19,7 @@ class LogStatusCommandTest extends \PHPUnit_Framework_TestCase
         $resource = $this->getMock('Magento\Log\Model\Resource\Shell', [], [], '', false);
         $resourceFactory->expects($this->once())->method('create')->willReturn($resource);
         $resource->expects($this->once())->method('getTablesInfo')->willReturn(
-            [['name' => 'log_customer', 'rows' => '0', 'data_length' => '16.00Kb', 'index_length' => '16.00Kb']]
+            [['name' => 'log_customer', 'rows' => '1', 'data_length' => '10', 'index_length' => '10']]
         );
         $objectManagerFactory->expects($this->once())->method('create')->willReturn($objectManager);
         $commandTester = new CommandTester(new LogStatusCommand($objectManagerFactory));
@@ -27,9 +27,9 @@ class LogStatusCommandTest extends \PHPUnit_Framework_TestCase
         $expectedMsg = '-----------------------------------+------------+------------+------------+' . PHP_EOL
             . 'Table Name                         | Rows       | Data Size  | Index Size |' . PHP_EOL
             . '-----------------------------------+------------+------------+------------+' . PHP_EOL
-            . 'log_customer                       | 0          | 16 b       | 16 b       |' . PHP_EOL
+            . 'log_customer                       | %s          | %s       | %s       |' . PHP_EOL
             . '-----------------------------------+------------+------------+------------+' . PHP_EOL
-            . 'Total                              | 0          | 16 b       | 16 b       |' . PHP_EOL
+            . 'Total                              | %s          | %s       | %s       |' . PHP_EOL
             . '-----------------------------------+------------+------------+------------+%w';
         $this->assertStringMatchesFormat($expectedMsg, $commandTester->getDisplay());
     }
-- 
GitLab