Skip to content

Commit b50e5da

Browse files
committed
fix tests with no assert
1 parent 51068ba commit b50e5da

6 files changed

Lines changed: 17 additions & 0 deletions

tests/ExasolDatatypeTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,7 @@ public function testValidLengths(string $type, $length, array $extraOptions = []
189189
$options = $extraOptions;
190190
$options['length'] = $length;
191191
new Exasol($type, $options);
192+
$this->expectNotToPerformAssertions();
192193
}
193194

194195
/**

tests/MySQLDatatypeTest.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ class MySQLDatatypeTest extends TestCase
1616
public function testValid(): void
1717
{
1818
new MySQL('VARCHAR', ['length' => '50']);
19+
$this->expectNotToPerformAssertions();
1920
}
2021

2122
public function testInvalidType(): void
@@ -68,6 +69,7 @@ public function testValidNumericLengths(): void
6869
'numeric_scale' => '20',
6970
],
7071
]);
72+
$this->expectNotToPerformAssertions();
7173
}
7274

7375
/**
@@ -91,6 +93,7 @@ public function testValidIntegerLengths(): void
9193
new MySQL('INTEGER');
9294
new MySQL('INTEGER', ['length' => '']);
9395
new MySQL('INTEGER', ['length' => '255']);
96+
$this->expectNotToPerformAssertions();
9497
}
9598

9699
/**
@@ -116,6 +119,7 @@ public function testValidFloatLengths(): void
116119
new MySQL('FLOAT', ['length' => '']);
117120
new MySQL('FLOAT', ['length' => '255']);
118121
new MySQL('FLOAT', ['length' => '255,0']);
122+
$this->expectNotToPerformAssertions();
119123
}
120124

121125
/**
@@ -144,6 +148,7 @@ public function testValidVariableCharacterLengths(): void
144148
'character_maximum' => '16777216',
145149
],
146150
]);
151+
$this->expectNotToPerformAssertions();
147152
}
148153

149154
public function testValidFixedCharacterLengths(): void
@@ -153,6 +158,7 @@ public function testValidFixedCharacterLengths(): void
153158
new MySQL('CHAR', ['length' => '']);
154159
new MySQL('CHAR', ['length' => '1']);
155160
new MySQL('CHAR', ['length' => '255']);
161+
$this->expectNotToPerformAssertions();
156162
}
157163

158164
public function testVariableCharacterWithoutLength(): void

tests/RedshiftDatatypeTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ class RedshiftDatatypeTest extends TestCase
1717
public function testValid(): void
1818
{
1919
new Redshift('VARCHAR', ['length' => '50']);
20+
$this->expectNotToPerformAssertions();
2021
}
2122

2223
public function testInvalidType(): void
@@ -73,6 +74,7 @@ public function testValidCompressions(): void
7374
new Redshift('VARCHAR', ['compression' => 'TEXT255']);
7475
new Redshift('VARCHAR', ['compression' => 'TEXT32K']);
7576
new Redshift('VARCHAR', ['compression' => 'ZSTD']);
77+
$this->expectNotToPerformAssertions();
7678
}
7779

7880
public function testInvalidOption(): void

tests/SnowflakeDatatypeTest.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ class SnowflakeDatatypeTest extends TestCase
1616
public function testValid(): void
1717
{
1818
new Snowflake('VARCHAR', ['length' => '50']);
19+
$this->expectNotToPerformAssertions();
1920
}
2021

2122
public function testInvalidType(): void
@@ -61,6 +62,7 @@ public function testValidNumericLengths(): void
6162
'numeric_scale' => '38',
6263
],
6364
]);
65+
$this->expectNotToPerformAssertions();
6466
}
6567

6668
/**
@@ -88,6 +90,7 @@ public function testValidDateTimeLengths(): void
8890
new Snowflake('TIMESTAMP_TZ', ['length' => '0']);
8991
new Snowflake('TIMESTAMP_NTZ', ['length' => '9']);
9092
new Snowflake('TIME', ['length' => '9']);
93+
$this->expectNotToPerformAssertions();
9194
}
9295

9396
public function testValidBinaryLengths(): void
@@ -101,6 +104,7 @@ public function testValidBinaryLengths(): void
101104
new Snowflake('VARBINARY', ['length' => '1']);
102105
new Snowflake('BINARY', ['length' => '8388608']);
103106
new Snowflake('VARBINARY', ['length' => '8388608']);
107+
$this->expectNotToPerformAssertions();
104108
}
105109

106110
public function testSqlDefinition(): void
@@ -168,6 +172,7 @@ public function testValidCharacterLengths(): void
168172
new Snowflake('STRING', [
169173
'length' => [],
170174
]);
175+
$this->expectNotToPerformAssertions();
171176
}
172177

173178
/**
@@ -256,6 +261,7 @@ public function testBasetypes(): void
256261
public function testVariant(): void
257262
{
258263
new Snowflake('VARIANT');
264+
$this->expectNotToPerformAssertions();
259265
}
260266

261267
/**

tests/SynapseDatatypeTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -321,6 +321,7 @@ public function testValidLengths(string $type, $length): void
321321
$options['length'] = $length;
322322
}
323323
new Synapse($type, $options);
324+
$this->expectNotToPerformAssertions();
324325
}
325326

326327
/**

tests/TeradataDatatypeTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,7 @@ public function testValidLengths(string $type, $length, ?array $extraOptions = [
205205
$options = $extraOptions;
206206
$options['length'] = $length;
207207
new Teradata($type, $options);
208+
$this->expectNotToPerformAssertions();
208209
}
209210

210211
/**

0 commit comments

Comments
 (0)