@@ -34,7 +34,7 @@ public function setUp()
34
34
/**
35
35
* If there are no currently locked jobs, locking one of them should succeed
36
36
*/
37
- public function testTryLockJob_NoLockedJobsSucceeds ()
37
+ public function testTryLockJobNoLockedJobsSucceeds ()
38
38
{
39
39
for ($ i = 1 ; $ i < 6 ; $ i ++) {
40
40
$ this ->createSchedule ("test_job " , Schedule::STATUS_PENDING , 60 * $ i );
@@ -47,7 +47,7 @@ public function testTryLockJob_NoLockedJobsSucceeds()
47
47
/**
48
48
* If the job is already locked, attempting to lock it again should fail
49
49
*/
50
- public function testTryLockJob_AlreadyLockedFails ()
50
+ public function testTryLockJobAlreadyLockedFails ()
51
51
{
52
52
$ schedule = $ this ->createSchedule ("test_job " , Schedule::STATUS_RUNNING );
53
53
@@ -57,7 +57,7 @@ public function testTryLockJob_AlreadyLockedFails()
57
57
/**
58
58
* If there's a job already locked, should not be able to lock another job
59
59
*/
60
- public function testTryLockJob_OtherLockedFails ()
60
+ public function testTryLockJobOtherLockedFails ()
61
61
{
62
62
$ this ->createSchedule ("test_job " , Schedule::STATUS_RUNNING );
63
63
$ schedule = $ this ->createSchedule ("test_job " , Schedule::STATUS_PENDING , 60 );
@@ -68,7 +68,7 @@ public function testTryLockJob_OtherLockedFails()
68
68
/**
69
69
* Should be able to lock a job if a job with a different code is locked
70
70
*/
71
- public function testTryLockJob_DifferentJobLocked ()
71
+ public function testTryLockJobDifferentJobLocked ()
72
72
{
73
73
$ this ->createSchedule ("test_job_other " , Schedule::STATUS_RUNNING );
74
74
$ schedule = $ this ->createSchedule ("test_job " , Schedule::STATUS_PENDING );
0 commit comments