Skip to content

Commit

Permalink
Fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
edyan committed Oct 3, 2020
1 parent 3cc9942 commit d3f8168
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 12 deletions.
2 changes: 2 additions & 0 deletions php5.6/tests/goss.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
---

file:
/usr/local/src/xhgui/config/config.php:
exists: true
Expand Down
2 changes: 2 additions & 0 deletions php5.6/tests/goss_wait.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
---

port:
tcp:27017:
listening: true
Expand Down
6 changes: 4 additions & 2 deletions php7.2/tests/goss.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
---

package:
mongodb-server-core:
mongodb-org-server:
installed: true
versions:
contain-element:
match-regexp: "1:3.6.+ubuntu[.0-9]+"
match-regexp: "4.4[.0-9]+"
php7.2-fpm:
installed: true
versions:
Expand Down
2 changes: 2 additions & 0 deletions php7.2/tests/goss_wait.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
---

port:
tcp:27017:
listening: true
Expand Down
14 changes: 4 additions & 10 deletions php7.4/tests/goss.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,11 @@
file:
/usr/local/src/xhgui/config/config.php:
exists: true
owner: www-data
group: www-data
filetype: file
contains:
- mongodb://127.0.0.1
---

package:
mongodb-server-core:
mongodb-org-server:
installed: true
versions:
contain-element:
match-regexp: "1:3.6.+ubuntu[.0-9]+"
match-regexp: "4.4[.0-9]+"
php7.4-fpm:
installed: true
versions:
Expand Down
2 changes: 2 additions & 0 deletions php7.4/tests/goss_wait.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
---

port:
tcp:27017:
listening: true
Expand Down

0 comments on commit d3f8168

Please sign in to comment.