projects
/
m6w6
/
pq-gateway
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
refactor relations
[m6w6/pq-gateway]
/
tests
/
lib
/
pq
/
Gateway
/
RowTest.php
diff --git
a/tests/lib/pq/Gateway/RowTest.php
b/tests/lib/pq/Gateway/RowTest.php
index 7b88e1993b298c894b2746622613068aaa684628..bee2dbe9bf36262ae055353a0fa2096f4890d8e2 100644
(file)
--- a/
tests/lib/pq/Gateway/RowTest.php
+++ b/
tests/lib/pq/Gateway/RowTest.php
@@
-100,8
+100,8
@@
class RowTest extends \PHPUnit_Framework_TestCase {
function testRef() {
foreach ($this->table->find() as $row) {
function testRef() {
foreach ($this->table->find() as $row) {
- foreach ($row->
reftest(
) as $ref) {
- $this->assertEquals($row->id->get(), $ref->
test
->current()->id->get());
+ foreach ($row->
allOf("reftest"
) as $ref) {
+ $this->assertEquals($row->id->get(), $ref->
ofWhich("test")
->current()->id->get());
}
}
}
}
}
}