switching to local idp
This commit is contained in:
Родитель
5eebc2eb99
Коммит
48646146e3
|
@ -12,20 +12,19 @@ define([
|
||||||
suite('assertion_service', function () {
|
suite('assertion_service', function () {
|
||||||
var client;
|
var client;
|
||||||
var assertionService;
|
var assertionService;
|
||||||
//var serverUrl = 'http://localhost:9000';
|
var serverUrl = 'http://127.0.0.1:9000';
|
||||||
var serverUrl = 'https://idp.dev.lcip.org';
|
//var serverUrl = 'https://idp.dev.lcip.org';
|
||||||
|
|
||||||
// before the suite starts
|
// before the suite starts
|
||||||
before(function () {
|
before(function () {
|
||||||
var setupDfd = new Deferred();
|
var setupDfd = new Deferred();
|
||||||
|
|
||||||
var Client = gherkin.Client;
|
var Client = gherkin.Client;
|
||||||
//var email = 'some' + new Date().getTime() + '@example.com';
|
var email = 'some' + new Date().getTime() + '@example.com';
|
||||||
var email = 'fxab-test@restmail.net';
|
|
||||||
var password = '12345678';
|
var password = '12345678';
|
||||||
|
|
||||||
Client
|
Client
|
||||||
.login(serverUrl, email, password)
|
.create(serverUrl, email, password)
|
||||||
.then(function (x) {
|
.then(function (x) {
|
||||||
client = x;
|
client = x;
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче