You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
324 B
18 lines
324 B
1 year ago
|
<?php
|
||
|
|
||
|
namespace Khanamiryan\QrCodeTests;
|
||
|
|
||
|
use Zxing\QrReader;
|
||
|
|
||
|
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());
|
||
|
}
|
||
|
}
|