Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
PUBLIC
/
surfer-okd
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 8c87c0db
authored
Aug 26, 2016
by
Johannes Zellner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use appId in tests everywhere
1 parent
7c789cb5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
test/test.js
test/test.js
View file @
8c87c0d
...
...
@@ -41,7 +41,7 @@ describe('Application life cycle test', function () {
done
();
});
var
LOCATION
=
'
rctest
'
;
var
LOCATION
=
'
surfer
'
;
var
TEST_TIMEOUT
=
10000
;
var
TEST_FILE_NAME_0
=
'index.html'
;
var
TEST_FILE_NAME_1
=
'test.txt'
;
...
...
@@ -167,7 +167,7 @@ describe('Application life cycle test', function () {
it
(
'move to different location'
,
function
()
{
browser
.
manage
().
deleteAllCookies
();
execSync
(
'cloudron install --location '
+
LOCATION
+
'2
'
,
{
cwd
:
path
.
resolve
(
__dirname
,
'..'
),
stdio
:
'inherit'
});
execSync
(
'cloudron install --location '
+
LOCATION
+
'2
--app '
+
app
.
id
,
{
cwd
:
path
.
resolve
(
__dirname
,
'..'
),
stdio
:
'inherit'
});
var
inspect
=
JSON
.
parse
(
execSync
(
'cloudron inspect'
));
app
=
inspect
.
apps
.
filter
(
function
(
a
)
{
return
a
.
location
===
LOCATION
+
'2'
;
})[
0
];
expect
(
app
).
to
.
be
.
an
(
'object'
);
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment