Commit 3de54412 authored by Okhin's avatar Okhin

Fixing the data expected by test

parent 25a899f8
Pipeline #2034 canceled with stages
...@@ -29,7 +29,7 @@ class CounterpartSeeder extends AbstractSeed ...@@ -29,7 +29,7 @@ class CounterpartSeeder extends AbstractSeed
'datec' => '2016-06-22 12:34', 'datec' => '2016-06-22 12:34',
'user_id' => 2, 'user_id' => 2,
'quoi' => 'piplome', // [piplome|pibag|pishirt|hoodie] 'quoi' => 'piplome', // [piplome|pibag|pishirt|hoodie]
'taille' => 8, 'taille' => 1,
'status' => 1, 'status' => 1,
'adresse_id' => null, 'adresse_id' => null,
), ),
......
...@@ -23,7 +23,7 @@ class DonationSeeder extends AbstractSeed ...@@ -23,7 +23,7 @@ class DonationSeeder extends AbstractSeed
'lang' => 'fr_FR', 'lang' => 'fr_FR',
'cadeau' => 1, 'cadeau' => 1,
'abo' => 1, 'abo' => 1,
'taille' => 8, 'taille' => 2,
'public' => 0, 'public' => 0,
'pdf' => 'pdf', 'pdf' => 'pdf',
'decimale' => 2, 'decimale' => 2,
......
...@@ -23,9 +23,9 @@ class CounterpartFinderTest extends FunctionalTest ...@@ -23,9 +23,9 @@ class CounterpartFinderTest extends FunctionalTest
'taille' => '8', 'taille' => '8',
'status' => '1', 'status' => '1',
'adresse_id' => null, 'adresse_id' => null,
'pdf_id' => '', 'pdf_id' => '8',
'pdf_nom' => '', 'pdf_nom' => 'bob@example.org',
'pdf_url' => '', 'pdf_url' => 'pdf',
]; ];
$this->assertEquals($expectedCounterpart, $firstCounterpart); $this->assertEquals($expectedCounterpart, $firstCounterpart);
......
...@@ -21,7 +21,7 @@ class DonationFinderTest extends FunctionalTest ...@@ -21,7 +21,7 @@ class DonationFinderTest extends FunctionalTest
'lang' => 'fr_FR', 'lang' => 'fr_FR',
'cadeau' => '1', 'cadeau' => '1',
'abo' => '1', 'abo' => '1',
'taille' => '8', 'taille' => '2',
'public' => '0', 'public' => '0',
'pdf' => 'pdf', 'pdf' => 'pdf',
'decimale' => '2', 'decimale' => '2',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment