Révision ecd39969
Ajouté par Assos Assos il y a environ 5 ans
drupal7/modules/field/modules/number/number.test | ||
---|---|---|
69 | 69 |
preg_match('|test-entity/manage/(\d+)/edit|', $this->url, $match); |
70 | 70 |
$id = $match[1]; |
71 | 71 |
$this->assertRaw(t('test_entity @id has been created.', array('@id' => $id)), 'Entity was created'); |
72 |
$this->assertRaw(round($value, 2), 'Value is displayed.');
|
|
72 |
$this->assertRaw($value, 'Value is displayed.');
|
|
73 | 73 |
|
74 | 74 |
// Try to create entries with more than one decimal separator; assert fail. |
75 | 75 |
$wrong_entries = array( |
Formats disponibles : Unified diff
Udpate to 7.65