Extend test for getting actor ID by life dates + name
This commit is contained in:
parent
e95415be8f
commit
5036c77f32
@ -149,7 +149,7 @@ final class NodaIDGetterTest extends TestCase {
|
||||
public static function persinstByNameAndLifeDatesProvider():array {
|
||||
|
||||
$mysqli = md_noda_mysqli_connect();
|
||||
$result = $mysqli->do_read_query("SELECT `persinst_name_en`, `persinst_id`, `persinst_geburtsjahr`, `persinst_sterbejahr`
|
||||
$result = $mysqli->do_read_query("SELECT `persinst_name_en`, `persinst_name`, `persinst_id`, `persinst_geburtsjahr`, `persinst_sterbejahr`
|
||||
FROM `persinst`
|
||||
WHERE INSTR(`persinst_name_en`, 'i')
|
||||
AND `persinst_geburtsjahr` != ''
|
||||
@ -163,7 +163,8 @@ final class NodaIDGetterTest extends TestCase {
|
||||
|
||||
return [
|
||||
'Persinst ID by name: ' . implode(' - ', $cur) => [
|
||||
(string)$cur[0], (int)$cur[1], (string)$cur[2], (string)$cur[3]
|
||||
(string)$cur[0], (int)$cur[2], (string)$cur[3], (string)$cur[4],
|
||||
(string)$cur[1], (int)$cur[2], (string)$cur[3], (string)$cur[4],
|
||||
]
|
||||
];
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user