Skip to content

Commit

Permalink
コピーライトの修正と、オブジェクト取得方法の変更
Browse files Browse the repository at this point in the history
  • Loading branch information
junpeko5 committed Jul 3, 2019
1 parent 3374c39 commit 762302f
Showing 1 changed file with 4 additions and 4 deletions.
Expand Up @@ -3,9 +3,9 @@
/*
* This file is part of EC-CUBE
*
* Copyright(c) LOCKON CO.,LTD. All Rights Reserved.
* Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
*
* http://www.lockon.co.jp/
* http://www.ec-cube.co.jp/
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
Expand Down Expand Up @@ -65,7 +65,7 @@ public function testValidate($stock, $beforeQuantity, $afterQuantity, $isError,
$Customer = new Customer();

/* @var ProductClass $ProductClass */
$ProductClass = $this->createProduct('テスト', 1)->getProductClasses()[0];
$ProductClass = $this->createProduct('テスト', 1)->getProductClasses()->first();

$OrderItemType = $this->OrderItemTypeRepository->find(OrderItemType::PRODUCT);

Expand Down Expand Up @@ -164,7 +164,7 @@ public function testPrepare($beforeStock, $afterStock, $beforeQuantity, $afterQu
$Customer = new Customer();

/* @var ProductClass $ProductClass */
$ProductClass = $this->createProduct('テスト', 1)->getProductClasses()[0];
$ProductClass = $this->createProduct('テスト', 1)->getProductClasses()->first();

$OrderItemType = $this->OrderItemTypeRepository->find(OrderItemType::PRODUCT);

Expand Down

0 comments on commit 762302f

Please sign in to comment.