<?php
it('uses atomic database and redis locking in critical jobs',function(){ $files=['app/Jobs/FinalizePaymentJob.php','app/Jobs/BroadcastPayoutJob.php'];foreach($files as $f){$code=file_get_contents(base_path($f));expect($code)->toContain('lock');}});
