File tree Expand file tree Collapse file tree 4 files changed +6
-15
lines changed Expand file tree Collapse file tree 4 files changed +6
-15
lines changed Original file line number Diff line number Diff line change 11---
2- version : " 3.0"
32services :
4-
53 logto-mariadb :
64 image : mariadb:latest
75 container_name : logto-mariadb
@@ -20,7 +18,7 @@ services:
2018
2119 php8 :
2220 build :
23- dockerfile : ./ docker/php8/Dockerfile
21+ context : docker/php8
2422 container_name : laravel-log-to-db-php8
2523 tty : true
2624 networks :
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ RUN apt update && apt install -y lsb-release gnupg2 ca-certificates apt-transpor
1313RUN apt update && add-apt-repository ppa:ondrej/php
1414RUN apt update && apt upgrade -y
1515RUN apt install -y curl git openssl openssh-client mysql-client bash libzip-dev zip wget
16- RUN apt install -y php8.2 php8.2 -dev php8.2 -mysql php8.2 -mongodb php8.2 -curl php8.2 -mbstring php8.2 -pcov php8.2 -cli
16+ RUN apt install -y php8.3 php8.3 -dev php8.3 -mysql php8.3 -mongodb php8.3 -curl php8.3 -mbstring php8.3 -pcov php8.3 -cli
1717
1818RUN pecl install pcov
1919RUN pecl install mongodb
@@ -30,8 +30,3 @@ RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local
3030
3131ADD https://github.com/ufoscout/docker-compose-wait/releases/download/2.2.1/wait /wait
3232RUN chmod +x /wait
33-
34- COPY entrypoint.sh /entrypoint.sh
35- RUN chmod +x /entrypoint.sh
36-
37- ENTRYPOINT ["/entrypoint.sh" ]
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -452,8 +452,11 @@ public function testModelInteraction()
452452 public function testStandAloneModels ()
453453 {
454454 Log::info ("This is a info log message... " );
455+
456+ $ modelMongo = LogToDB::model (null , 'mongodb ' );
457+
455458 $ this ->assertNotEmpty (LogSql::get ()->toArray ());
456- $ this ->assertNotEmpty (LogMongo:: get ()->toArray ());
459+ $ this ->assertNotEmpty ($ modelMongo -> get ()->toArray ());
457460 }
458461
459462 /**
You can’t perform that action at this time.
0 commit comments