Explorar el Código

Check if returned job_id is correct

Abdullah Almsaeed hace 6 años
padre
commit
cb4cbbb103
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      tests/tripal/api/TripalJobsApiTest.php

+ 1 - 0
tests/tripal/api/TripalJobsApiTest.php

@@ -28,6 +28,7 @@ class TripalJobsApiTest extends TripalTestCase{
 
     $this->assertNotEmpty($job2);
     $this->assertObjectHasAttribute('job_id', $job2);
+    $this->assertEquals($job2->job_id, $job->job_id);
   }
 
   /** @test */