Fix testing issues with command. #286

This commit is contained in:
Korina Cordero 2019-12-16 09:58:40 +00:00
parent 7da009f673
commit a02c364c1f
2 changed files with 2 additions and 8 deletions

View file

@ -9,16 +9,8 @@ use Symfony\Component\Console\Output\OutputInterface;
use Doctrine\Common\Persistence\ObjectManager; use Doctrine\Common\Persistence\ObjectManager;
use App\Entity\Warranty;
use App\Entity\Battery;
use App\Service\WarrantyHandler; use App\Service\WarrantyHandler;
use App\Ramcar\WarrantyClass;
use DateTime;
use DateInterval;
class ComputeWarrantyExpiryDateCommand extends Command class ComputeWarrantyExpiryDateCommand extends Command
{ {
protected $em; protected $em;

View file

@ -9,6 +9,8 @@ use App\Entity\Battery;
use App\Entity\BatterySize; use App\Entity\BatterySize;
use App\Entity\SAPBattery; use App\Entity\SAPBattery;
use App\Ramcar\WarrantyClass;
use DateTime; use DateTime;
use DateInterval; use DateInterval;