Failed Conditions
Pull Request — experimental/sf (#31)
by Kentaro
06:59
created

_support/Page/Admin/ShippingCsvUploadPage.php (1 issue)

Labels
Severity

Upgrade to new PHP Analysis Engine

These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more

1
<?php
2
/*
3
 * This file is part of EC-CUBE
4
 *
5
 * Copyright(c) 2000-2018 LOCKON CO.,LTD. All Rights Reserved.
6
 *
7
 * http://www.lockon.co.jp/
8
 *
9
 * This program is free software; you can redistribute it and/or
10
 * modify it under the terms of the GNU General Public License
11
 * as published by the Free Software Foundation; either version 2
12
 * of the License, or (at your option) any later version.
13
 *
14
 * This program is distributed in the hope that it will be useful,
15
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17
 * GNU General Public License for more details.
18
 *
19
 * You should have received a copy of the GNU General Public License
20
 * along with this program; if not, write to the Free Software
21
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
22
 */
23
24
namespace Page\Admin;
25
26
27 View Code Duplication
class ShippingCsvUploadPage extends AbstractAdminPageStyleGuide
28
{
29
    public static $完了メッセージ = 'div.alert-primary';
30
31
    public function __construct(\AcceptanceTester $I)
32
    {
33
        parent::__construct($I);
34
    }
35
36
    /**
37
     * @param \AcceptanceTester $I
38
     */
39
    public static function go($I)
40
    {
41
        $page = new ProductCsvUploadPage($I);
42
        return $page->goPage('/order/shipping_csv_upload', '出荷CSV登録受注管理');
0 ignored issues
show
The method goPage() cannot be called from this context as it is declared protected in class Page\Admin\AbstractAdminPage.

This check looks for access to methods that are not accessible from the current context.

If you need to make a method accessible to another context you can raise its visibility level in the defining class.

Loading history...
43
    }
44
45
    public function 入力_CSVファイル($fileName)
46
    {
47
        $this->tester->attachFile(['id' => 'admin_csv_import_import_file'], $fileName);
48
        return $this;
49
    }
50
51
    public function CSVアップロード()
52
    {
53
        $this->tester->click(['id' => 'upload-button']);
54
        return $this;
55
    }
56
57
    public function 雛形ダウンロード()
58
    {
59
        $this->tester->click(['id' => 'download-button']);
60
        return $this;
61
    }
62
}