@@ -66,6 +66,9 @@ |
||
66 | 66 | |
67 | 67 | protected $ticketCounter = 1; |
68 | 68 | |
69 | + /** |
|
70 | + * @param false $checkedIn |
|
71 | + */ |
|
69 | 72 | protected function createTicket($day, $checkedIn = null, $email = null) |
70 | 73 | { |
71 | 74 | if ($email === null) $email = sprintf('stats.doe.198%[email protected]', $this->ticketCounter); |
@@ -7,11 +7,8 @@ |
||
7 | 7 | |
8 | 8 | namespace BCRM\WebBundle\Tests\Functional; |
9 | 9 | |
10 | -use BCRM\BackendBundle\Entity\Event\Registration; |
|
11 | 10 | use BCRM\BackendBundle\Entity\Event\Ticket; |
12 | 11 | use BCRM\BackendBundle\Entity\Payment; |
13 | -use Symfony\Component\BrowserKit\Cookie; |
|
14 | -use Symfony\Component\DependencyInjection\ContainerInterface; |
|
15 | 12 | |
16 | 13 | class StatsControllerTest extends Base |
17 | 14 | { |
@@ -80,7 +80,7 @@ |
||
80 | 80 | |
81 | 81 | // Create a payment |
82 | 82 | $txId = sha1('someid' . $email); |
83 | - $payment = $em->getRepository('BCRMBackendBundle:Payment')->findOneByTxId($txId); |
|
83 | + $payment = $em->getRepository('BCRMBackendBundle:Payment')->findOneByTxId($txId); |
|
84 | 84 | if (!$payment) { |
85 | 85 | $payment = new Payment(); |
86 | 86 | $payment->setTransactionId($txId); |