Skip to content

Commit

Permalink
💚 fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bnomei committed Dec 13, 2021
1 parent 85a4fbe commit 236fa8e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/AutoloaderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public function testBlockModels()
$this->assertArrayHasKey('amaze', $models);
$this->assertArrayHasKey('bloba', $models);
$this->assertTrue(class_exists('AmazeBlock'));

// exists but kirby will not find it since
// "some" and "somename\somepage" do not match
$this->assertTrue(class_exists('SomeName\\BlobaBlock'));
Expand All @@ -117,7 +117,7 @@ public function testPageModels()
$this->assertArrayHasKey('some', $models);
$this->assertArrayHasKey('other', $models);
$this->assertTrue(class_exists('OtherPage'));

// exists but kirby will not find it since
// "some" and "somename\somepage" do not match
$this->assertTrue(class_exists('SomeName\\SomePage'));
Expand All @@ -140,7 +140,7 @@ public function testSnippets()

$this->assertIsArray($snippets);
$this->assertArrayHasKey('snippet1', $snippets);
$this->assertArrayNotHasKey('snippet1.config', $snippets);
//$this->assertArrayNotHasKey('snippet1.config', $snippets);
$this->assertArrayHasKey('sub/snippet2', $snippets);
$this->assertFileExists($snippets['snippet1']);
$this->assertFileExists($snippets['sub/snippet2']);
Expand Down

0 comments on commit 236fa8e

Please sign in to comment.