We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d423ca commit 94097e9Copy full SHA for 94097e9
setup/src/Magento/Setup/Test/Unit/Validator/DbValidatorTest.php
@@ -87,6 +87,18 @@ public function testCheckDatabaseTablePrefixWrongFormat()
87
$this->assertEquals(true, $this->dbValidator->checkDatabaseTablePrefix('_wrong_format'));
88
}
89
90
+ /**
91
+ * @expectedException \InvalidArgumentException
92
+ * @expectedExceptionMessage Table prefix length can't be more then
93
+ */
94
+ public function testCheckDatabaseTablePrefixWrongLength()
95
+ {
96
+ $this->assertEquals(
97
+ true,
98
+ $this->dbValidator->checkDatabaseTablePrefix('mvbXzXzItSIr0wrZW3gqgV2UKrWiK1Mj7bkBlW72rZW3gqgV2UKrWiK1M')
99
+ );
100
+ }
101
+
102
/**
103
* @expectedException \Magento\Setup\Exception
104
* @expectedExceptionMessage Database connection failure.
0 commit comments