Explorar o código

use fqdn instead

Girish Ramakrishnan %!s(int64=7) %!d(string=hai) anos
pai
achega
d2fbdd7ab5
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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'));
                 }