| Total Complexity | 5 |
| Total Lines | 39 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | class MariaDb1027PlatformTest extends AbstractMySQLPlatformTestCase |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * {@inheritdoc} |
||
| 14 | */ |
||
| 15 | public function createPlatform() : MariaDb1027Platform |
||
| 16 | { |
||
| 17 | return new MariaDb1027Platform(); |
||
| 18 | } |
||
| 19 | |||
| 20 | public function testHasNativeJsonType() : void |
||
| 21 | { |
||
| 22 | self::assertFalse($this->_platform->hasNativeJsonType()); |
||
| 23 | } |
||
| 24 | |||
| 25 | /** |
||
| 26 | * From MariaDB 10.2.7, JSON type is an alias to LONGTEXT |
||
| 27 | * @link https://mariadb.com/kb/en/library/json-data-type/ |
||
| 28 | */ |
||
| 29 | public function testReturnsJsonTypeDeclarationSQL() : void |
||
| 30 | { |
||
| 31 | self::assertSame('LONGTEXT', $this->_platform->getJsonTypeDeclarationSQL([])); |
||
| 32 | } |
||
| 33 | |||
| 34 | public function testInitializesJsonTypeMapping() : void |
||
| 38 | } |
||
| 39 | |||
| 40 | /** |
||
| 41 | * Overrides and skips AbstractMySQLPlatformTestCase test regarding propagation |
||
| 42 | * of unsupported default values for Blob and Text columns. |
||
| 43 | * |
||
| 44 | * @see AbstractMySQLPlatformTestCase::testDoesNotPropagateDefaultValuesForUnsupportedColumnTypes() |
||
| 45 | */ |
||
| 46 | public function testDoesNotPropagateDefaultValuesForUnsupportedColumnTypes() : void |
||
| 49 | } |
||
| 50 | } |
||
| 51 |