mirror of
https://github.com/portainer/portainer.git
synced 2025-08-02 20:35:25 +02:00
Angular version bump to 1.3.15.
This commit is contained in:
parent
32a4703a53
commit
14bfc57870
17 changed files with 1012 additions and 611 deletions
|
@ -19,7 +19,7 @@ describe('ContainerController', function() {
|
|||
}));
|
||||
|
||||
function expectGetContainer() {
|
||||
$httpBackend.expectGET('dockerapi/containers/json?').respond({
|
||||
$httpBackend.expectGET('dockerapi/containers/json').respond({
|
||||
'Created': 1421817232,
|
||||
'id': 'b17882378cee8ec0136f482681b764cca430befd52a9bfd1bde031f49b8bba9f',
|
||||
'Image': 'dockerui:latest',
|
||||
|
@ -41,7 +41,7 @@ describe('ContainerController', function() {
|
|||
var newContainerName = "newName";
|
||||
expectGetContainer();
|
||||
|
||||
$httpBackend.expectGET('dockerapi/containers/changes?').respond([{"Kind":1,"Path":"/docker.sock"}]);
|
||||
$httpBackend.expectGET('dockerapi/containers/changes').respond([{"Kind":1,"Path":"/docker.sock"}]);
|
||||
|
||||
$httpBackend.expectPOST('dockerapi/containers/' + $routeParams.id + '/rename?name=newName').
|
||||
respond({
|
||||
|
|
|
@ -59,7 +59,7 @@ describe('startContainerController', function() {
|
|||
'Id': id,
|
||||
'Warnings': null
|
||||
});
|
||||
$httpBackend.expectPOST('dockerapi/containers/' + id + '/start?').respond({
|
||||
$httpBackend.expectPOST('dockerapi/containers/' + id + '/start').respond({
|
||||
'id': id,
|
||||
'Warnings': null
|
||||
});
|
||||
|
@ -91,7 +91,7 @@ describe('startContainerController', function() {
|
|||
'Id': id,
|
||||
'Warnings': null
|
||||
});
|
||||
$httpBackend.expectPOST('dockerapi/containers/' + id + '/start?').respond({
|
||||
$httpBackend.expectPOST('dockerapi/containers/' + id + '/start').respond({
|
||||
'id': id,
|
||||
'Warnings': null
|
||||
});
|
||||
|
@ -127,7 +127,7 @@ describe('startContainerController', function() {
|
|||
'Id': id,
|
||||
'Warnings': null
|
||||
});
|
||||
$httpBackend.expectPOST('dockerapi/containers/' + id + '/start?').respond({
|
||||
$httpBackend.expectPOST('dockerapi/containers/' + id + '/start').respond({
|
||||
'id': id,
|
||||
'Warnings': null
|
||||
});
|
||||
|
@ -168,7 +168,7 @@ describe('startContainerController', function() {
|
|||
'Id': id,
|
||||
'Warnings': null
|
||||
});
|
||||
$httpBackend.expectPOST('dockerapi/containers/' + id + '/start?').respond({
|
||||
$httpBackend.expectPOST('dockerapi/containers/' + id + '/start').respond({
|
||||
'id': id,
|
||||
'Warnings': null
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue