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

Tests/missed tests #17

Merged
merged 24 commits into from
Sep 9, 2014
Merged

Tests/missed tests #17

merged 24 commits into from
Sep 9, 2014

Conversation

Mahmoudz
Copy link
Contributor

@Mahmoudz Mahmoudz commented Sep 8, 2014

mainly just adding testings

mahmoud added 24 commits September 8, 2014 15:30
add setters for S3Client and BatchBuilder in the connect function
make the upload and connect functions returns boolean
- make the push function return a true in the Cdn Class
- update the comment of getConfigurations in the CdnHelper class
- update the comment of getAssets in the Asset class
add main validator to hold the shared function between all validators,
and add a CdnFacadeValidator to hold the validation of the CdnFacade
class.
validate the asset() function doesn't have an empty $path
to become Vinelab\Cdn\Validators\Contracts\ProviderValidator

after renaming the validator class
class.

The new dependency is the validator class
the test covers empty default provider
To be the same as the of the class being tested
To be the same as the of the class being tested
- write tests for the asset class
- make the parseAndFillConfiguration private
- change the asset properties to protected (since they all have getters)
This will fix the reading of the config file form the framework
not the package
Mulkave added a commit that referenced this pull request Sep 9, 2014
-  fix the reading of the config file.
- write unit tests for all the classes.
- add validator classes and make them extends main validator
@Mulkave Mulkave merged commit ecb7045 into develop Sep 9, 2014
@Mulkave Mulkave deleted the tests/missed-tests branch September 9, 2014 23:45
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.

2 participants