Closed (fixed)
Project:
Feeds
Version:
8.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
29 Jan 2018 at 11:32 UTC
Updated:
17 May 2018 at 19:14 UTC
Jump to comment: Most recent, Most recent file
Test code for \Drupal\Tests\feeds\Unit\Feeds\Target\FileTest is commented out. Let's try to repair this test.
| Comment | File | Size | Author |
|---|---|---|---|
| #12 | interdiff-2940280-10-12.txt | 6.06 KB | megachriz |
| #12 | feeds-file-target-test-2940280-12.patch | 12.81 KB | megachriz |
| #10 | feeds-file-target-test-2940280-10.patch | 10.47 KB | megachriz |
| #6 | interdiff-2940280-4-6.txt | 4.15 KB | megachriz |
| #6 | feeds-file-target-test-2940280-6.patch | 5.45 KB | megachriz |
Comments
Comment #2
megachrizComment #4
megachrizComment #6
megachrizNote: test coverage for subtarget 'target_id' is missing.
Comment #8
megachrizCommitted #6. Leaving issue open for adding coverage for subtarget 'target_id'.
Comment #10
megachrizThis test tries to cover the following cases:
Ironically, locally this test is failing on an error reported in #2951965: PHP 5.6: Fatal error during import: FormattableMarkup::__toString() must not throw an exception!
Comment #12
megachrizComment #14
megachrizCommitted #12 with a few differences: removed
@group testfrom methods. Test coverage for providing an empty value for 'target_id' will go into #2772595: When mapping to File or Image fields, empty source for target_id causes Exception and breaks import process., as there are some issues with that.