Commit 54c28347 authored by alexpott's avatar alexpott

Issue #2279339 by chx: Fixed NumberFieldTest is slightly and subtly broken .

parent 625463d5
......@@ -107,7 +107,7 @@ function testNumberDecimalField() {
preg_match('|entity_test/manage/(\d+)|', $this->url, $match);
$id = $match[1];
$this->assertText(t('entity_test @id has been created.', array('@id' => $id)), 'Entity was created');
$this->assertRaw(round($value, 2), 'Value is displayed.');
$this->assertRaw($value, 'Value is displayed.');
// Try to create entries with more than one decimal separator; assert fail.
$wrong_entries = array(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment