fixes all tests

This commit is contained in:
Victor Gonzalex
2020-03-18 07:57:45 -04:00
parent 20b07aeea8
commit 163be72b86
2 changed files with 38 additions and 18 deletions

View File

@@ -79,20 +79,20 @@ class UpdaterRemoteTest extends TestCase
$this->assertTrue($supervisor->is(Roles::first()->supervisor));
}
// /**
// * @test
// * @group current
// */
// public function exception_is_thrown_if_the_directory_does_not_exists()
// {
// try {
// new UpdaterFake(null, null, true, 's3');
//
// $this->fail('exception was thrown');
// } catch (Exception $e) {
// $this->assertEquals('Specified sync file directory does not exist', $e->getMessage());
// }
// }
/**
* @test
* @group current
*/
public function exception_is_thrown_if_the_directory_does_not_exists()
{
try {
new UpdaterFake(null, null, true, 's3');
$this->fail('exception was thrown');
} catch (Exception $e) {
$this->assertEquals('Specified sync file directory does not exist', $e->getMessage());
}
}
/** @test */
public function invalid_json_throws_an_exception()