mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-26 19:36:29 +03:00
[test] update
This commit is contained in:
parent
0f3ab7b1d8
commit
bc3e3f9118
1 changed files with 1 additions and 2 deletions
|
@ -17,10 +17,9 @@ const main = async () => {
|
|||
await Database.connect();
|
||||
|
||||
try {
|
||||
const user = await R.findOne("user");
|
||||
|
||||
// No need to actually reset the password for testing, just make sure no connection problem. It is ok for now.
|
||||
if (!process.env.TEST_BACKEND) {
|
||||
const user = await R.findOne("user");
|
||||
if (! user) {
|
||||
throw new Error("user not found, have you installed?");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue