Skip to content

Commit

Permalink
Do not check unexistent config file
Browse files Browse the repository at this point in the history
  • Loading branch information
Vítězslav Dvořák committed Oct 30, 2023
1 parent 150d96e commit bed8d9b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tests/src/Ease/SharedTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
namespace Test\Ease;

use Ease\Shared;
use Ease\Functions;

/**
* Generated by PHPUnit_SkeletonGenerator on 2016-01-17 at 23:58:11.
Expand Down Expand Up @@ -121,8 +120,6 @@ public function testLoadConfig()
$this->object->loadConfig($json, true);
$this->assertArrayHasKey('opt', $this->object->configuration);
$this->assertTrue(defined('KEY'));
$this->expectException('Ease\Exception');
$this->object->loadConfig('unexistent.json');
$this->assertEquals('optvalue', $this->object->getConfigValue('opt'));
$this->assertEquals('keyvalue', $this->object->getConfigValue('KEY'));
$this->expectException('Exception');
Expand Down

0 comments on commit bed8d9b

Please sign in to comment.