Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Korko
SecretSanta.fr
Commits
8149b1cc
Commit
8149b1cc
authored
Jan 04, 2017
by
Korko
Committed by
StyleCI Bot
Jan 04, 2017
Browse files
Apply fixes from StyleCI
parent
f16ae9b7
Changes
2
Hide whitespace changes
Inline
Side-by-side
tests/RequestTest.php
View file @
8149b1cc
<?php
require_once
(
'RequestCase.php'
)
;
require_once
'RequestCase.php'
;
class
RequestTest
extends
RequestCase
{
...
...
tests/ValidationTest.php
View file @
8149b1cc
<?php
require_once
(
'RequestCase.php'
)
;
require_once
'RequestCase.php'
;
class
ValidationTest
extends
RequestCase
{
...
...
@@ -72,7 +72,7 @@ class ValidationTest extends RequestCase
public
function
testContactBodiesBoth
()
{
$content
=
$this
->
ajaxPost
(
'/'
,
[
'name'
=>
[
'toto'
,
'tata'
,
'tutu'
],
'email'
=>
[
''
,
'test@test.com'
,
'test@test.com'
],
'phone'
=>
[
'0612345678'
,
'0612345678'
,
''
],
'exclusions'
=>
[]
'name'
=>
[
'toto'
,
'tata'
,
'tutu'
],
'email'
=>
[
''
,
'test@test.com'
,
'test@test.com'
],
'phone'
=>
[
'0612345678'
,
'0612345678'
,
''
],
'exclusions'
=>
[]
,
],
422
);
$this
->
assertArrayKeysEquals
([
'g-recaptcha-response'
,
'title'
,
'contentMail'
,
'contentSMS'
],
$content
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment