Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/PHPUnit/Integration/Plugin/Dimension/ConversionDimensionTest.php')
-rw-r--r--tests/PHPUnit/Integration/Plugin/Dimension/ConversionDimensionTest.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/PHPUnit/Integration/Plugin/Dimension/ConversionDimensionTest.php b/tests/PHPUnit/Integration/Plugin/Dimension/ConversionDimensionTest.php
index 7e6ac7191c..35cd30615d 100644
--- a/tests/PHPUnit/Integration/Plugin/Dimension/ConversionDimensionTest.php
+++ b/tests/PHPUnit/Integration/Plugin/Dimension/ConversionDimensionTest.php
@@ -17,7 +17,7 @@ use Piwik\Tests\Framework\TestCase\IntegrationTestCase;
class FakeConversionDimension extends ConversionDimension
{
protected $columnName = 'fake_conversion_dimension_column';
- protected $columnType = 'INTEGER (10) DEFAULT 0';
+ protected $columnType = 'VARCHAR (255) DEFAULT 0';
public function set($param, $value)
{
@@ -79,7 +79,7 @@ class ConversionDimensionTest extends IntegrationTestCase
{
$expected = array(
'log_conversion' => array(
- "ADD COLUMN `fake_conversion_dimension_column` INTEGER (10) DEFAULT 0"
+ "ADD COLUMN `fake_conversion_dimension_column` VARCHAR (255) DEFAULT 0"
)
);
@@ -90,7 +90,7 @@ class ConversionDimensionTest extends IntegrationTestCase
{
$expected = array(
'log_conversion' => array(
- "MODIFY COLUMN `fake_conversion_dimension_column` INTEGER (10) DEFAULT 0"
+ "MODIFY COLUMN `fake_conversion_dimension_column` VARCHAR (255) DEFAULT 0"
)
);
@@ -99,7 +99,7 @@ class ConversionDimensionTest extends IntegrationTestCase
public function test_getVersion_shouldUseColumnTypeAsVersion()
{
- $this->assertEquals('INTEGER (10) DEFAULT 0', $this->dimension->getVersion());
+ $this->assertEquals('VARCHAR (255) DEFAULT 0', $this->dimension->getVersion());
}
public function test_getSegment_ShouldReturnConfiguredSegments()