Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Commit

Permalink
Update test.
Browse files Browse the repository at this point in the history
  • Loading branch information
strotgen committed Jul 30, 2019
1 parent 85b91a9 commit 748b35e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 36 deletions.
9 changes: 5 additions & 4 deletions tests/SovrenTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
namespace Via\LaravelSovren\Tests;

use GuzzleHttp\Client;
use Via\LaravelSovren\Facade\Sovren as SovrenFacade;
use Via\LaravelSovren\Sovren;
use Orchestra\Testbench\TestCase;
use Via\LaravelSovren\SovrenServiceProvider;
use Via\LaravelSovren\Facade\Sovren as SovrenFacade;

class SovrenTest extends TestCase
{
Expand Down Expand Up @@ -39,9 +39,10 @@ public function parse_resume(): void
$file = file_get_contents('tests/files/resume.pdf');
$resume = SovrenFacade::parse($file);


$this->assertCount(3, $resume);
$this->assertArrayHasKey('StructuredXMLResume', $resume);
$this->assertCount(2, $resume);
$this->assertArrayHasKey('Info', $resume);
$this->assertArrayHasKey('Value', $resume);
$this->assertEquals('Success', $resume['Info']['Code']);
}

/**
Expand Down
33 changes: 1 addition & 32 deletions tests/fixtures/wrong_account_parse_resume.yml

Large diffs are not rendered by default.

0 comments on commit 748b35e

Please sign in to comment.