Skip to content

Commit

Permalink
Fixing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pogotc committed Nov 1, 2024
1 parent baac39e commit 81fd6c9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/unit/mongo/ConfigGeneratorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public function testCreateFromConfig()
$this->assertInstanceOf(Tripod\Mongo\Config::class, $instance);
$this->assertInstanceOf(Tripod\ITripodConfigSerializer::class, $instance);
$this->assertEquals(
['CBD_testing', 'CBD_testing_2'],
['CBD_testing', 'CBD_test_related_content', 'CBD_testing_2'],
$instance->getPods('tripod_php_testing')
);
}
Expand Down
7 changes: 6 additions & 1 deletion test/unit/mongo/MongoTripodConfigUnitTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -765,7 +765,12 @@ public function testGetViewSpecification()
'rdf:type',
],
],
],
'_id' => [
'from' => 'CBD_test_related_content',
'include' => ['dct:title']

]
]
];

$vspec = Tripod\Config::getInstance()->getViewSpecification('tripod_php_testing', 'v_resource_full');
Expand Down

0 comments on commit 81fd6c9

Please sign in to comment.