Closed (fixed)
Project:
Feeds
Version:
8.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
13 Feb 2019 at 21:42 UTC
Updated:
28 Feb 2019 at 11:14 UTC
Jump to comment: Most recent, Most recent file
There are a few Simpletest tests that should be converted to PHPUnit tests. These are:
RssNodeImport::testHttpImport()RssNodeImport::testCron()PrivateFileTest::testPrivateFile()| Comment | File | Size | Author |
|---|---|---|---|
| #6 | interdiff-3032822-5-6.txt | 743 bytes | megachriz |
| #6 | feeds-simpletest-convert-rss-node-import-3032822-6.patch | 18.66 KB | megachriz |
| #5 | interdiff-3032822-4-5.txt | 1.42 KB | megachriz |
| #5 | feeds-simpletest-convert-rss-node-import-3032822-5.patch | 18.58 KB | megachriz |
| #4 | interdiff-3032822-3-4.txt | 9.16 KB | megachriz |
Comments
Comment #2
megachrizAs a start, this patch tries to convert the test
RssNodeImport::testHttpImport().Comment #3
megachrizI had made the patch last week, did not notice I hadn't finished yet. This patch finished the port of
RssNodeImport::testHttpImport()and also enables asserting that terms get imported correctly.Comment #4
megachrizThis ports
RssNodeImport::testCron()as well.Comment #5
megachrizAnd the last one, which appeared to be simpler:
PrivateFileTest::testPrivateFile(). That test was basically covering a bug that been infeeds_file_download()(see #2706717: PHP notice coming from feeds_file_download).Comment #6
megachrizForget to change the namespace of the moved test "PrivateFileTest". Also small coding standard correction.
Comment #8
megachrizCommitted #6.