We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cc00aff commit 069b233Copy full SHA for 069b233
tests/QueryBuilderTest.php
@@ -46,7 +46,7 @@ public function testDeleteWithId()
46
47
DB::collection('items')->where('user_id', $user_id)->delete($pid);
48
49
- DB::collection('items')->where('user_id', $user_id)->delete(str_random(32));
+ DB::collection('items')->where('user_id', $user_id)->delete(md5('random-id'));
50
51
$this->assertEquals(2, DB::collection('items')->count());
52
}
0 commit comments