Skip to content

Commit 5d48f96

Browse files
committed
ITT: Chaining possibility added.
1 parent c4cce7f commit 5d48f96

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Asserts/DatabaseAsserts.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,16 @@ protected function seeInDatabaseMany($table, $rows)
99
foreach ($rows as $row) {
1010
$this->seeInDatabase($table, $row);
1111
}
12+
13+
return $this;
1214
}
1315

1416
protected function dontSeeInDatabaseMany($table, $rows)
1517
{
1618
foreach ($rows as $row) {
1719
$this->dontSeeInDatabase($table, $row);
1820
}
21+
22+
return $this;
1923
}
2024
}

0 commit comments

Comments
 (0)