File "HiddenTest.php"
Full Path: /home/digidjwy/public_html/wp-content/plugins/mycryptocheckout/vendor/plainview/sdk/form2/tests/HiddenTest.php
File size: 310 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
namespace plainview\sdk_mcc\form2\tests;
class HiddenTest extends TestCase
{
public function test_input_is_hidden()
{
$text = $this->form()->text( 'test' )
->label( 'Test label' )
->hidden();
$this->assertStringContainsRegExp( '/hidden="hidden".*\<input.*hidden="hidden"/s', $text );
}
}