File tree Expand file tree Collapse file tree 3 files changed +2
-16
lines changed Expand file tree Collapse file tree 3 files changed +2
-16
lines changed Original file line number Diff line number Diff line change @@ -35,10 +35,8 @@ class DatabasePostgresBuilderTest extends TestCase
35
35
{
36
36
protected function tearDown (): void
37
37
{
38
- if (SWOOLE_MAJOR_VERSION >= 5 ) {
39
- ContainerStub::getContainer ();
40
- Schema::dropIfExists ('test_full_text_index ' );
41
- }
38
+ ContainerStub::getContainer ();
39
+ Schema::dropIfExists ('test_full_text_index ' );
42
40
m::close ();
43
41
}
44
42
@@ -111,10 +109,6 @@ public function testWhereFullText()
111
109
112
110
public function testWhereFullTextForReal ()
113
111
{
114
- if (SWOOLE_MAJOR_VERSION < 5 ) {
115
- $ this ->markTestSkipped ('PostgreSql requires Swoole version >= 5.0.0 ' );
116
- }
117
-
118
112
$ container = ContainerStub::getContainer ();
119
113
$ container ->shouldReceive ('get ' )->with (Db::class)->andReturn (new Db ($ container ));
120
114
Original file line number Diff line number Diff line change @@ -38,10 +38,6 @@ class PostgreSqlSwooleExtConnectionTest extends TestCase
38
38
39
39
public function setUp (): void
40
40
{
41
- if (SWOOLE_MAJOR_VERSION < 5 ) {
42
- $ this ->markTestSkipped ('PostgreSql requires Swoole version >= 5.0.0 ' );
43
- }
44
-
45
41
$ resolver = ContainerStub::getContainer ()->get (ConnectionResolverInterface::class);
46
42
47
43
$ this ->migrator = new Migrator (
Original file line number Diff line number Diff line change @@ -29,10 +29,6 @@ class ConnectionTest extends TestCase
29
29
30
30
public function setUp (): void
31
31
{
32
- if (SWOOLE_MAJOR_VERSION < 5 ) {
33
- $ this ->markTestSkipped ('PostgreSql requires Swoole version >= 5.0.0 ' );
34
- }
35
-
36
32
$ pgsql = new PostgreSQL ();
37
33
$ connected = $ pgsql ->connect ('host=127.0.0.1 port=5432 dbname=postgres user=postgres password=postgres ' );
38
34
if (! $ connected ) {
You can’t perform that action at this time.
0 commit comments