Skip to content
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

Merged
merged 17 commits into from
Aug 14, 2015
Merged

Improve tests #93

merged 17 commits into from
Aug 14, 2015

Conversation

nunorafaelrocha
Copy link
Collaborator

This improves tests by adding SeegnoTestBundle and faker to all test classes.

@nunorafaelrocha nunorafaelrocha force-pushed the enhancement/improve-tests branch 3 times, most recently from 15668d6 to 0963b20 Compare August 10, 2015 14:36
"phpdocumentor/phpdocumentor": "~2.8.1",
"phpunit/phpunit": "~4.4.1"
"phpunit/phpunit": "~4.5",
"seegno/test-bundle": "^0.0.1"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using ^ instead of ~ here?

@nunorafaelrocha nunorafaelrocha force-pushed the enhancement/improve-tests branch 3 times, most recently from fe31462 to de5492d Compare August 11, 2015 09:10
$login = $this->faker->userName;
$password = $this->faker->password;
$description = $this->faker->sentence;
$login = $this->getFaker()->userName;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sort.

$login = $this->getFaker()->userName;
$password = $this->getFaker()->password;
$description = $this->getFaker()->sentence;
$otp = $this->getFaker()->randomNumber(6);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sort.

@@ -4,11 +4,12 @@

use Bitreserve\Paginator\ArrayPaginator;
Copy link
Member

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

Nuno Rafael Rocha added 2 commits August 14, 2015 11:31
Improve and rename TestCase to ModelTestCase.
joaonice added a commit that referenced this pull request Aug 14, 2015
@joaonice joaonice merged commit ea03549 into master Aug 14, 2015
@joaonice joaonice deleted the enhancement/improve-tests branch August 14, 2015 10:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants