فهرست منبع

use fqdn instead

Girish Ramakrishnan 7 سال پیش
والد
کامیت
d2fbdd7ab5
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      test/test.js

+ 1 - 1
test/test.js

@@ -81,7 +81,7 @@ describe('Application life cycle test', function () {
                 .end(function (error, result) {
                 if (error) return callback(error);
 
-                if (result.text.indexOf('.cloudron.info / mysql | phpMyAdmin') === -1) { // in the title
+                if (result.text.indexOf(`${app.fqdn} / mysql | phpMyAdmin`) === -1) { // in the <title>
                     console.log(result.text);
                     return callback(new Error('could not detect phpmyadmin'));
                 }