ed103545dd
In charge of taking over the, now removed/archived, phpunit/dbunit package. It supports loading of CSV/XML files and strings and PHP arrays, allowing to send the loaded information to database. Perform some basic controls about the consistency of information, surely not super-exhaustive but fair enough. 100% covered with unit test. Planned like an "interim" replacement for phpunit/dbunit uses in core that, ideally, should be moved to generators stuff at some point. Note, expect a few tests in core to fail with this commit, I've changed some fixtures around. Next commit will fix existing uses. Originally MDL-64600
19 lines
440 B
XML
19 lines
440 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<dataset>
|
|
<table name="course">
|
|
<column>id</column>
|
|
<column>shortname</column>
|
|
<column>fullname</column>
|
|
<row>
|
|
<value>6</value>
|
|
<value>101</value>
|
|
<value>1-0-1</value>
|
|
</row>
|
|
<row>
|
|
<value>8</value>
|
|
<value>202</value>
|
|
<value>2-0-2</value>
|
|
</row>
|
|
</table>
|
|
</dataset>
|