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
3535{
3636 protected function tearDown (): void
3737 {
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 ' );
4240 m::close ();
4341 }
4442
@@ -111,10 +109,6 @@ public function testWhereFullText()
111109
112110 public function testWhereFullTextForReal ()
113111 {
114- if (SWOOLE_MAJOR_VERSION < 5 ) {
115- $ this ->markTestSkipped ('PostgreSql requires Swoole version >= 5.0.0 ' );
116- }
117-
118112 $ container = ContainerStub::getContainer ();
119113 $ container ->shouldReceive ('get ' )->with (Db::class)->andReturn (new Db ($ container ));
120114
Original file line number Diff line number Diff line change @@ -38,10 +38,6 @@ class PostgreSqlSwooleExtConnectionTest extends TestCase
3838
3939 public function setUp (): void
4040 {
41- if (SWOOLE_MAJOR_VERSION < 5 ) {
42- $ this ->markTestSkipped ('PostgreSql requires Swoole version >= 5.0.0 ' );
43- }
44-
4541 $ resolver = ContainerStub::getContainer ()->get (ConnectionResolverInterface::class);
4642
4743 $ this ->migrator = new Migrator (
Original file line number Diff line number Diff line change @@ -29,10 +29,6 @@ class ConnectionTest extends TestCase
2929
3030 public function setUp (): void
3131 {
32- if (SWOOLE_MAJOR_VERSION < 5 ) {
33- $ this ->markTestSkipped ('PostgreSql requires Swoole version >= 5.0.0 ' );
34- }
35-
3632 $ pgsql = new PostgreSQL ();
3733 $ connected = $ pgsql ->connect ('host=127.0.0.1 port=5432 dbname=postgres user=postgres password=postgres ' );
3834 if (! $ connected ) {
You can’t perform that action at this time.
0 commit comments