Skip to content

Commit 6609340

Browse files
committed
Adding assert in JasperPHPTest::testCompile()
1 parent ec802a9 commit 6609340

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/JasperPHP/JasperPHPTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ public function testCompile()
3737
$result = $jasper->compile('hello_world.jrxml');
3838

3939
$this->assertInstanceOf(JasperPHP::class, $result);
40+
$this->assertEquals('./jasperstarter compile "hello_world.jrxml"', $result->output());
4041
}
4142

4243
/**
@@ -61,4 +62,5 @@ public function testExecuteWithCompile()
6162
$jasper->compile('hello_world.jrxml')->execute();
6263
}
6364

65+
6466
}

0 commit comments

Comments
 (0)