Skip to content

Commit

Permalink
✅ Replace str_random usage
Browse files Browse the repository at this point in the history
  • Loading branch information
jenssegers committed Sep 8, 2019
1 parent cc00aff commit 069b233
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/QueryBuilderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public function testDeleteWithId()

DB::collection('items')->where('user_id', $user_id)->delete($pid);

DB::collection('items')->where('user_id', $user_id)->delete(str_random(32));
DB::collection('items')->where('user_id', $user_id)->delete(md5('random-id'));

$this->assertEquals(2, DB::collection('items')->count());
}
Expand Down

0 comments on commit 069b233

Please sign in to comment.