Explorar el Código

Update tripal test suite and fix tests

Abdullah Almsaeed hace 6 años
padre
commit
cad8662685

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 324 - 216
composer.lock


+ 1 - 0
sites/default/files/tripal/ws/context/content.v0_1.analysis.json

@@ -0,0 +1 @@
+{"@context":{"rdfs":"http:\/\/www.w3.org\/2000\/01\/rdf-schema#","hydra":"http:\/\/www.w3.org\/ns\/hydra\/core#","dc":"http:\/\/purl.org\/dc\/terms\/","schema":"https:\/\/schema.org\/","local":"http:\/\/127.0.0.1\/cv\/lookup\/local\/","Collection":"hydra:Collection","totalItems":"hydra:totalItems","member":"hydra:member","vocab":"http:\/\/127.0.0.1\/web-services\/doc\/v0.1#","Analysis_Collection":"vocab:Analysis_Collection","label":"rdfs:label","rdfs:label":"http:\/\/www.w3.org\/2000\/01\/rdf-schema#label","view":"hydra:PartialCollectionView","operation":"http:\/\/edamontology.org\/operation_","Analysis":"operation:2945","operation:2945":"http:\/\/edamontology.org\/operation_2945","ItemPage":"schema:ItemPage","schema:ItemPage":"https:\/\/schema.org\/ItemPage"}}

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 0 - 0
sites/default/files/tripal/ws/context/content.v0_1.json


+ 1 - 0
sites/default/files/tripal/ws/context/services..json

@@ -0,0 +1 @@
+{"@context":{"rdfs":"http:\/\/www.w3.org\/2000\/01\/rdf-schema#","hydra":"http:\/\/www.w3.org\/ns\/hydra\/core#","dc":"http:\/\/purl.org\/dc\/terms\/","schema":"https:\/\/schema.org\/","local":"http:\/\/127.0.0.1\/cv\/lookup\/local\/","error":"rdfs:error"}}

+ 1 - 2
tests/tripal_ws/http/TripalContentTest.php → tests/tripal_ws/http/TripalWebServicesContentTest.php

@@ -5,14 +5,13 @@ namespace Tests\tripal_ws\http;
 use StatonLab\TripalTestSuite\DBTransaction;
 use StatonLab\TripalTestSuite\TripalTestCase;
 
-class TripalContentTest extends TripalTestCase{
+class TripalWebServicesContentTest extends TripalTestCase{
 
   // Uncomment to auto start and rollback db transactions per test method.
   use DBTransaction;
 
   /** @test */
   public function testGettingMainContentList() {
-    //call /web-services/content/v0.1
     $response = $this->get('web-services/content/v0.1');
 
     // Make sure it returned valid json

Algunos archivos no se mostraron porque demasiados archivos cambiaron en este cambio