diff --git a/images/macos/provision/core/mongodb.sh b/images/macos/provision/core/mongodb.sh index 944ef21c3..9e6c2bba2 100644 --- a/images/macos/provision/core/mongodb.sh +++ b/images/macos/provision/core/mongodb.sh @@ -2,13 +2,11 @@ source ~/utils/utils.sh # MongoDB object-value database -# installs last version of MongoDB Community Edition -# https://docs.mongodb.com/manual/tutorial/install-mongodb-on-os-x/v +# Install latest release version of MongoDB Community Edition +# https://docs.mongodb.com/manual/tutorial/install-mongodb-on-os-x echo "Installing mongodb..." - brew tap mongodb/brew -brew_smart_install "mongodb-community@4.4" -ln -sf $(brew --prefix mongodb-community@4.4)/bin/* /usr/local/bin/ +brew_smart_install "mongodb-community@5.0" -invoke_tests "Databases" "Mongo" +invoke_tests "Databases" "MongoDB" diff --git a/images/macos/tests/Databases.Tests.ps1 b/images/macos/tests/Databases.Tests.ps1 index 6e06a231a..5f4548ac7 100644 --- a/images/macos/tests/Databases.Tests.ps1 +++ b/images/macos/tests/Databases.Tests.ps1 @@ -1,4 +1,4 @@ -Describe "Mongo" { +Describe "MongoDB" { It "mongodb" { "mongo --version" | Should -ReturnZeroExitCode "mongod --version"| Should -ReturnZeroExitCode