mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-03-18 23:49:55 +00:00
parent
0d61b46822
commit
0912867b49
1 changed files with 6 additions and 10 deletions
|
@ -7715,17 +7715,13 @@ class FormHelperTest extends CakeTestCase {
|
||||||
public function testInputTimeWithMicrosecondsAsText() {
|
public function testInputTimeWithMicrosecondsAsText() {
|
||||||
$this->Form->request->data = array();
|
$this->Form->request->data = array();
|
||||||
$this->Form->create('Contact');
|
$this->Form->create('Contact');
|
||||||
$result = $this->Form->input('lap_time',
|
$result = $this->Form->input('lap_time', array(
|
||||||
array(
|
'type' => 'text',
|
||||||
'type' => 'text',
|
));
|
||||||
)
|
|
||||||
);
|
|
||||||
$this->assertNotContains('maxlength=', $result);
|
$this->assertNotContains('maxlength=', $result);
|
||||||
$result = $this->Form->input('last_seen',
|
$result = $this->Form->input('last_seen', array(
|
||||||
array(
|
'type' => 'text',
|
||||||
'type' => 'text',
|
));
|
||||||
)
|
|
||||||
);
|
|
||||||
$this->assertNotContains('maxlength=', $result);
|
$this->assertNotContains('maxlength=', $result);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue