mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +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() {
|
||||
$this->Form->request->data = array();
|
||||
$this->Form->create('Contact');
|
||||
$result = $this->Form->input('lap_time',
|
||||
array(
|
||||
'type' => 'text',
|
||||
)
|
||||
);
|
||||
$result = $this->Form->input('lap_time', array(
|
||||
'type' => 'text',
|
||||
));
|
||||
$this->assertNotContains('maxlength=', $result);
|
||||
$result = $this->Form->input('last_seen',
|
||||
array(
|
||||
'type' => 'text',
|
||||
)
|
||||
);
|
||||
$result = $this->Form->input('last_seen', array(
|
||||
'type' => 'text',
|
||||
));
|
||||
$this->assertNotContains('maxlength=', $result);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue