|
|
@@ -159,7 +159,7 @@ class DecimalTypeTest extends TestCase
|
|
|
public function testMarshal()
|
|
|
{
|
|
|
$result = $this->type->marshal('some data');
|
|
|
- $this->assertSame('some data', $result);
|
|
|
+ $this->assertNull($result);
|
|
|
|
|
|
$result = $this->type->marshal('');
|
|
|
$this->assertNull($result);
|
|
|
@@ -168,10 +168,10 @@ class DecimalTypeTest extends TestCase
|
|
|
$this->assertSame(2.51, $result);
|
|
|
|
|
|
$result = $this->type->marshal('3.5 bears');
|
|
|
- $this->assertSame('3.5 bears', $result);
|
|
|
+ $this->assertNull($result);
|
|
|
|
|
|
$result = $this->type->marshal(['3', '4']);
|
|
|
- $this->assertSame(1, $result);
|
|
|
+ $this->assertNull($result);
|
|
|
}
|
|
|
|
|
|
/**
|