EC-CUBE / EC-CUBE/ec-cube

CSVダウンロードテストケースの見直し

Open
#2,836 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
PHP
Stars
788
Forks
719
Avg merge
3d 20h
Merged PRs (30d)
45

Description

## 概要(Overview)
`expectOutputRegex` の正規表現が間違っており、そもそも通らない模様

https://github.com/EC-CUBE/ec-cube/pull/2823/files?w=1#diff-e3d547e0d96ae8d3b47cf8214839f25dL473

## 期待する内容(Expect) or 要望 (Requirement)
以下のテストが正常に通ること
- `Eccube\Tests\Web\Admin\Product\ProductContorllerTest:: testExportWithAll`,
- `Eccube\Tests\Web\Admin\Product\ProductContorllerTest:: testProductExport `

## 再現手順(Procedure)
`Eccube\Tests\Web\Admin\Product\ProductContorllerTest` がエラーになる

### 環境 (environment)
+ EC-CUBE: experimental/sf branch

## 関連情報 (Ref)
#2823

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the linked pull request #2823 diff and the Eccube\Tests\Web\Admin\Product\ProductContorllerTest cases named in the issue. Run testExportWithAll and testProductExport, then correct the expectOutputRegex test case so both tests pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, symfony
Domain
backend, testing
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.