Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
  • Loading branch information
crynobone committed Nov 24, 2023
1 parent 013045b commit c4a0d13
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions tests/Feature/DocumentTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
namespace Orchestra\Parser\Tests\Feature;

use Orchestra\Parser\Xml\Facade as XmlParser;
use PHPUnit\Framework\Attributes\DataProvider;
use PHPUnit\Framework\Attributes\Test;
use Workbench\App\Filter;

Expand Down Expand Up @@ -34,11 +35,8 @@ public function it_can_use_namespaed()
$this->assertCount(0, $result);
}

/**
* @test
*
* @dataProvider dataCollectionProvider
*/
#[Test]
#[DataProvider('dataCollectionProvider')]
public function it_can_parse($content, $schema, $expected)
{
$document = XmlParser::via(simplexml_load_string($content));
Expand All @@ -48,11 +46,7 @@ public function it_can_parse($content, $schema, $expected)
$this->assertEquals($expected, $data);
}

/**
* @test
*
* @requires PHP 7.0
*/
#[Test]
public function it_can_parse_with_tags()
{
$expected = [
Expand Down

0 comments on commit c4a0d13

Please sign in to comment.