Skip to content

Commit 9b76bec

Browse files
committed
CI: Fix illustration style path for course data filler
1 parent 4da23a6 commit 9b76bec

1 file changed

Lines changed: 13 additions & 12 deletions

File tree

tests/datafiller/data_courses.php

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
*
1111
* @author Yannick Warnier <yannick.warnier@beeznest.com>
1212
*/
13+
$style = 'psyche';
1314
$courses = [];
1415
// 1
1516
$courses[] = [
@@ -21,7 +22,7 @@
2122
'user_id' => 1,
2223
'expiration_date' => '2030-09-01 00:00:00',
2324
'exemplary_content' => false,
24-
'illustration_path' => __DIR__.'/images/english101s.png',
25+
'illustration_path' => __DIR__.'/images/'.$style.'/english101s.png',
2526
];
2627
// 2
2728
$courses[] = [
@@ -33,7 +34,7 @@
3334
'user_id' => 1,
3435
'expiration_date' => '2030-09-01 00:00:00',
3536
'exemplary_content' => false,
36-
'illustration_path' => __DIR__.'/images/spanish101s.png',
37+
'illustration_path' => __DIR__.'/images/'.$style.'/spanish101s.png',
3738
];
3839
// 3
3940
$courses[] = [
@@ -45,7 +46,7 @@
4546
'user_id' => 1,
4647
'expiration_date' => '2030-09-01 00:00:00',
4748
'exemplary_content' => false,
48-
'illustration_path' => __DIR__.'/images/french101s.png',
49+
'illustration_path' => __DIR__.'/images/'.$style.'/french101s.png',
4950
];
5051
// 4
5152
$courses[] = [
@@ -57,7 +58,7 @@
5758
'user_id' => 1,
5859
'expiration_date' => '2030-09-01 00:00:00',
5960
'exemplary_content' => false,
60-
'illustration_path' => __DIR__.'/images/arabic101s.png',
61+
'illustration_path' => __DIR__.'/images/'.$style.'/arabic101s.png',
6162
];
6263
// 5
6364
$courses[] = [
@@ -69,7 +70,7 @@
6970
'user_id' => 1,
7071
'expiration_date' => '2030-09-01 00:00:00',
7172
'exemplary_content' => false,
72-
'illustration_path' => __DIR__.'/images/solarsystems.png',
73+
'illustration_path' => __DIR__.'/images/'.$style.'/solarsystems.png',
7374
];
7475
// 6
7576
$courses[] = [
@@ -81,7 +82,7 @@
8182
'user_id' => 1,
8283
'expiration_date' => '2030-09-01 00:00:00',
8384
'exemplary_content' => false,
84-
'illustration_path' => __DIR__.'/images/marnavigations.png',
85+
'illustration_path' => __DIR__.'/images/'.$style.'/marnavigations.png',
8586
];
8687
// 7
8788
$courses[] = [
@@ -93,7 +94,7 @@
9394
'user_id' => 1,
9495
'expiration_date' => '2030-09-01 00:00:00',
9596
'exemplary_content' => false,
96-
'illustration_path' => __DIR__.'/images/natgeos.png',
97+
'illustration_path' => __DIR__.'/images/'.$style.'/natgeos.png',
9798
];
9899
// 8
99100
$courses[] = [
@@ -105,7 +106,7 @@
105106
'user_id' => 1,
106107
'expiration_date' => '2030-09-01 00:00:00',
107108
'exemplary_content' => false,
108-
'illustration_path' => __DIR__.'/images/japanese101s.png',
109+
'illustration_path' => __DIR__.'/images/'.$style.'/japanese101s.png',
109110
];
110111
// 9
111112
$courses[] = [
@@ -117,7 +118,7 @@
117118
'user_id' => 1,
118119
'expiration_date' => '2030-09-01 00:00:00',
119120
'exemplary_content' => false,
120-
'illustration_path' => __DIR__.'/images/timemgmts.png',
121+
'illustration_path' => __DIR__.'/images/'.$style.'/timemgmts.png',
121122
];
122123
// 10
123124
$courses[] = [
@@ -129,7 +130,7 @@
129130
'user_id' => 1,
130131
'expiration_date' => '2030-09-01 00:00:00',
131132
'exemplary_content' => false,
132-
'illustration_path' => __DIR__.'/images/hebrew101s.png',
133+
'illustration_path' => __DIR__.'/images/'.$style.'/hebrew101s.png',
133134
];
134135
// 11
135136
$courses[] = [
@@ -141,7 +142,7 @@
141142
'user_id' => 1,
142143
'expiration_date' => '2030-09-01 00:00:00',
143144
'exemplary_content' => false,
144-
'illustration_path' => __DIR__.'/images/chinese101s.png',
145+
'illustration_path' => __DIR__.'/images/'.$style.'/chinese101s.png',
145146
];
146147
// 12
147148
$courses[] = [
@@ -153,5 +154,5 @@
153154
'user_id' => 1,
154155
'expiration_date' => '2030-09-01 00:00:00',
155156
'exemplary_content' => false,
156-
'illustration_path' => __DIR__.'/images/myanmar101s.png',
157+
'illustration_path' => __DIR__.'/images/'.$style.'/myanmar101s.png',
157158
];

0 commit comments

Comments
 (0)