Пример #1
0
 public function test_is_unhealthy()
 {
     $this->configure_for_health_tests(123, 122);
     $job = new Job(self::$domain, self::$job_name);
     $this->assertFalse($job->is_healthy(), 'Expected that job would be unhealthy');
 }
Пример #2
0
 public function testIsUnhealthy()
 {
     $conn = $this->configureForHealthTests(123, 122);
     $job = new Job($conn, self::$projectPath);
     $this->assertFalse($job->is_healthy(), 'Expected that job would be unhealthy');
 }