mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
BUGFIX Fixed CsvBulkLoaderTest to comply to hasHeaderRow API change (r64806)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@65026 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
ff7a63cc37
commit
c0c4ff8a9d
@ -46,6 +46,7 @@ class CsvBulkLoaderTest extends SapphireTest {
|
|||||||
null, // ignored column
|
null, // ignored column
|
||||||
'Birthday'
|
'Birthday'
|
||||||
);
|
);
|
||||||
|
$loader->hasHeaderRow = false;
|
||||||
$results = $loader->load($filepath);
|
$results = $loader->load($filepath);
|
||||||
|
|
||||||
// Test that right amount of columns was imported
|
// Test that right amount of columns was imported
|
||||||
|
Loading…
Reference in New Issue
Block a user