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

handle NULL value in seeInRepository param array #647

Merged
merged 2 commits into from Nov 2, 2013

Conversation

Projects
None yet
2 participants
@imanzuk
Copy link
Contributor

commented Nov 2, 2013

I have to be able to look for NULL value when calling seeInRepository.

@@ -298,8 +298,12 @@ protected function buildAssociationQuery($qb, $assoc, $alias, $params)
}
}
}
$qb->andWhere("s.$key = :$key");
$qb->setParameter($key, $val);
if ($val == null) {

This comment has been minimized.

Copy link
@DavertMik

DavertMik Nov 2, 2013

Member

Maybe === null?

This comment has been minimized.

Copy link
@imanzuk

imanzuk Nov 2, 2013

Author Contributor

Thanks, agreed, fixed it.

DavertMik added a commit that referenced this pull request Nov 2, 2013

Merge pull request #647 from imanzuk/1.7
handle NULL value in seeInRepository param array

@DavertMik DavertMik merged commit ea33abc into Codeception:1.7 Nov 2, 2013

1 check passed

default The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.