@@ -38,7 +38,7 @@ func TestAppsList(t *testing.T) {
3838 {
3939 "uuid": "c4aed81c-d1ca-4ff1-ab89-d2151264e1a3",
4040 "id": "lorem-ipsum",
41- "owner ": "dolar-sit-amet",
41+ "workspace ": "dolar-sit-amet",
4242 "created": "2016-08-22T17:40:16Z",
4343 "updated": "2016-08-22T17:40:16Z",
4444 "structure": {
@@ -48,7 +48,7 @@ func TestAppsList(t *testing.T) {
4848 {
4949 "uuid": "c4aed81c-d1ca-4ff1-ab89-d2151264e1a3",
5050 "id": "consectetur",
51- "owner ": "adipiscing",
51+ "workspace ": "adipiscing",
5252 "created": "2016-08-22T17:40:16Z",
5353 "updated": "2016-08-22T17:40:16Z",
5454 "structure": {
@@ -61,7 +61,7 @@ func TestAppsList(t *testing.T) {
6161
6262 err = cmdr .AppsList (- 1 )
6363 assert .NoError (t , err )
64- testutil .AssertOutput (t , b .String (), `ID OWNER CREATED UPDATED
64+ testutil .AssertOutput (t , b .String (), `ID WORKSPACE CREATED UPDATED
6565lorem-ipsum dolar-sit-amet 2016-08-22T17:40:16Z 2016-08-22T17:40:16Z
6666consectetur adipiscing 2016-08-22T17:40:16Z 2016-08-22T17:40:16Z
6767` )
@@ -87,7 +87,7 @@ func TestAppsListLimit(t *testing.T) {
8787 {
8888 "uuid": "c4aed81c-d1ca-4ff1-ab89-d2151264e1a3",
8989 "id": "lorem-ipsum",
90- "owner ": "dolar-sit-amet",
90+ "workspace ": "dolar-sit-amet",
9191 "created": "2016-08-22T17:40:16Z",
9292 "updated": "2016-08-22T17:40:16Z",
9393 "structure": {
@@ -100,7 +100,7 @@ func TestAppsListLimit(t *testing.T) {
100100
101101 err = cmdr .AppsList (1 )
102102 assert .NoError (t , err )
103- testutil .AssertOutput (t , b .String (), `ID OWNER CREATED UPDATED
103+ testutil .AssertOutput (t , b .String (), `ID WORKSPACE CREATED UPDATED
104104lorem-ipsum dolar-sit-amet 2016-08-22T17:40:16Z 2016-08-22T17:40:16Z
105105` )
106106}
@@ -120,7 +120,7 @@ func TestAppsInfo(t *testing.T) {
120120 fmt .Fprintf (w , `{
121121 "uuid": "c4aed81c-d1ca-4ff1-ab89-d2151264e1a3",
122122 "id": "lorem-ipsum",
123- "owner ": "dolar-sit-amet",
123+ "workspace ": "dolar-sit-amet",
124124 "structure": {
125125 "cmd": 1
126126 },
@@ -189,7 +189,7 @@ func TestAppsInfo(t *testing.T) {
189189 testutil .AssertOutput (t , b .String (), `App: lorem-ipsum
190190URL: ` + url + `
191191UUID: c4aed81c-d1ca-4ff1-ab89-d2151264e1a3
192- Owner: dolar-sit-amet
192+ Workspace: dolar-sit-amet
193193Created: 2016-08-22T17:40:16Z
194194Updated: 2016-08-22T17:40:16Z
195195Processes:
@@ -223,7 +223,7 @@ func TestAppDestroy(t *testing.T) {
223223 fmt .Fprintf (w , `{
224224 "uuid": "c4aed81c-d1ca-4ff1-ab89-d2151264e1a3",
225225 "id": "lorem-ipsum",
226- "owner ": "dolar-sit-amet",
226+ "workspace ": "dolar-sit-amet",
227227 "structure": {
228228 "cmd": 1
229229 },
@@ -256,7 +256,7 @@ func TestAppTransfer(t *testing.T) {
256256 fmt .Fprintf (w , `{
257257 "uuid": "c4aed81c-d1ca-4ff1-ab89-d2151264e1a3",
258258 "id": "lorem-ipsum",
259- "owner ": "dolar-sit-amet",
259+ "workspace ": "dolar-sit-amet",
260260 "structure": {
261261 "cmd": 1
262262 },
@@ -324,11 +324,11 @@ func TestRemoteExists(t *testing.T) {
324324 var b bytes.Buffer
325325 cmdr := DryccCmd {WOut : & b , ConfigFile : cf }
326326
327- err = cmdr .AppCreate ("foo" , "drycc" , false )
327+ err = cmdr .AppCreate ("foo" , "" , " drycc" , false )
328328
329329 // Check that an error occurred and it contains the remote name
330330 // This works for any language since the remote name "drycc" is always in the error
331331 assert .Error (t , err )
332- assert .Contains (t , err .Error (), "drycc" ,
332+ assert .Contains (t , err .Error (), "drycc" ,
333333 "error message should contain the remote name 'drycc', got: %s" , err .Error ())
334334}
0 commit comments