-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve tests #93
Improve tests #93
Conversation
15668d6
to
0963b20
Compare
"phpdocumentor/phpdocumentor": "~2.8.1", | ||
"phpunit/phpunit": "~4.4.1" | ||
"phpunit/phpunit": "~4.5", | ||
"seegno/test-bundle": "^0.0.1" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Using ^ instead of ~ here?
fe31462
to
de5492d
Compare
de5492d
to
c6b9532
Compare
c6b9532
to
6b4ac14
Compare
$login = $this->faker->userName; | ||
$password = $this->faker->password; | ||
$description = $this->faker->sentence; | ||
$login = $this->getFaker()->userName; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sort.
6b4ac14
to
3ea9f45
Compare
$login = $this->getFaker()->userName; | ||
$password = $this->getFaker()->password; | ||
$description = $this->getFaker()->sentence; | ||
$otp = $this->getFaker()->randomNumber(6); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sort.
3ea9f45
to
2acfce6
Compare
@@ -4,11 +4,12 @@ | |||
|
|||
use Bitreserve\Paginator\ArrayPaginator; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ArrayPaginator
is not being used
Improve and rename TestCase to ModelTestCase.
2acfce6
to
aee105f
Compare
This improves tests by adding
SeegnoTestBundle
and faker to all test classes.