first commit
This commit is contained in:
15
vendor/khanamiryan/qrcode-detector-decoder/tests/QrReaderTest.php
vendored
Normal file
15
vendor/khanamiryan/qrcode-detector-decoder/tests/QrReaderTest.php
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
namespace Khanamiryan\QrCodeTests;
|
||||
|
||||
class QrReaderTest extends \PHPUnit_Framework_TestCase
|
||||
{
|
||||
|
||||
public function testText1()
|
||||
{
|
||||
$image = __DIR__ . "/qrcodes/hello_world.png";
|
||||
|
||||
$qrcode = new \QrReader($image);
|
||||
$this->assertSame("Hello world!", $qrcode->text());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user