Procházet zdrojové kódy

Update tripal test suite and fix tests

Abdullah Almsaeed před 6 roky
rodič
revize
cad8662685

Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 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"}}

Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 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

Některé soubory nejsou zobrazeny, neboť je v těchto rozdílových datech změněno mnoho souborů