Skip to content
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.

[test] Replace assert(True|False) with more appropriate assertions where possible #7476

Merged
merged 30 commits into from
May 4, 2015
Merged

[test] Replace assert(True|False) with more appropriate assertions where possible #7476

merged 30 commits into from
May 4, 2015

Conversation

Maks3w
Copy link
Member

@Maks3w Maks3w commented May 1, 2015

This PR aims to remove uses of asserTrue and assertFalse.

PHPUnit provides alternative assertions specific for certain cases and provides useful information about the nature of the failure.

@Maks3w Maks3w added this to the 2.5.0 milestone May 1, 2015
Maks3w added 28 commits May 1, 2015 18:53
weierophinney added a commit to zendframework/zend-console that referenced this pull request May 15, 2015
…/remove-evil-assertBoolean-not-boolean-values

[test] Remove evil assert boolean for not boolean values
weierophinney added a commit to zendframework/zend-console that referenced this pull request May 15, 2015
weierophinney added a commit to zendframework/zend-filter that referenced this pull request May 15, 2015
…/remove-evil-assertBoolean-not-boolean-values

[test] Remove evil assert boolean for not boolean values
weierophinney added a commit to zendframework/zend-filter that referenced this pull request May 15, 2015
weierophinney added a commit to zendframework/zend-ldap that referenced this pull request May 15, 2015
…/remove-evil-assertBoolean-not-boolean-values

[test] Remove evil assert boolean for not boolean values
weierophinney added a commit to zendframework/zend-ldap that referenced this pull request May 15, 2015
weierophinney added a commit to zendframework/zend-json that referenced this pull request May 15, 2015
…/remove-evil-assertBoolean-not-boolean-values

[test] Remove evil assert boolean for not boolean values
weierophinney added a commit to zendframework/zend-json that referenced this pull request May 15, 2015
weierophinney added a commit to zendframework/zend-validator that referenced this pull request May 15, 2015
…/remove-evil-assertBoolean-not-boolean-values

[test] Remove evil assert boolean for not boolean values
weierophinney added a commit to zendframework/zend-validator that referenced this pull request May 15, 2015
weierophinney added a commit to zendframework/zend-file that referenced this pull request May 15, 2015
…/remove-evil-assertBoolean-not-boolean-values

[test] Remove evil assert boolean for not boolean values
weierophinney added a commit to zendframework/zend-file that referenced this pull request May 15, 2015
weierophinney added a commit to zendframework/zend-dom that referenced this pull request May 15, 2015
…/remove-evil-assertBoolean-not-boolean-values

[test] Remove evil assert boolean for not boolean values
weierophinney added a commit to zendframework/zend-dom that referenced this pull request May 15, 2015
weierophinney added a commit to zendframework/zend-session that referenced this pull request May 15, 2015
…/remove-evil-assertBoolean-not-boolean-values

[test] Remove evil assert boolean for not boolean values
weierophinney added a commit to zendframework/zend-session that referenced this pull request May 15, 2015
weierophinney added a commit to zendframework/zend-log that referenced this pull request May 15, 2015
…/remove-evil-assertBoolean-not-boolean-values

[test] Remove evil assert boolean for not boolean values
weierophinney added a commit to zendframework/zend-log that referenced this pull request May 15, 2015
weierophinney added a commit to zendframework/zend-cache that referenced this pull request May 15, 2015
…/remove-evil-assertBoolean-not-boolean-values

[test] Remove evil assert boolean for not boolean values
weierophinney added a commit to zendframework/zend-cache that referenced this pull request May 15, 2015
weierophinney added a commit to zendframework/zend-soap that referenced this pull request May 15, 2015
…/remove-evil-assertBoolean-not-boolean-values

[test] Remove evil assert boolean for not boolean values
weierophinney added a commit to zendframework/zend-soap that referenced this pull request May 15, 2015
weierophinney added a commit to zendframework/zend-mime that referenced this pull request May 15, 2015
…/remove-evil-assertBoolean-not-boolean-values

[test] Remove evil assert boolean for not boolean values
weierophinney added a commit to zendframework/zend-mime that referenced this pull request May 15, 2015
weierophinney added a commit to zendframework/zend-view that referenced this pull request May 15, 2015
…/remove-evil-assertBoolean-not-boolean-values

[test] Remove evil assert boolean for not boolean values
weierophinney added a commit to zendframework/zend-view that referenced this pull request May 15, 2015
weierophinney added a commit to zendframework/zend-feed that referenced this pull request May 15, 2015
…/remove-evil-assertBoolean-not-boolean-values

[test] Remove evil assert boolean for not boolean values
weierophinney added a commit to zendframework/zend-feed that referenced this pull request May 15, 2015
weierophinney added a commit to zendframework/zend-permissions-acl that referenced this pull request May 15, 2015
…/remove-evil-assertBoolean-not-boolean-values

[test] Remove evil assert boolean for not boolean values
weierophinney added a commit to zendframework/zend-permissions-acl that referenced this pull request May 15, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants