Skip to content

Commit 5d8ae60

Browse files
committed
20201208 update 1:Fix test case for putting shape.
1 parent fef3e36 commit 5d8ae60

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Aspose.Cells.Cloud.SDK.Test/Api/CellsShapesApiTests.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,9 +145,12 @@ public void CellsShapesPutWorksheetShapeTest()
145145
int? left = 10;
146146
int? width = 100;
147147
int? height = 90;
148+
Shape shape = new Shape();
149+
shape.LowerRightRow = 10;
150+
shape.LowerRightColumn = 10;
148151
string folder = TEMPFOLDER;
149152
UpdateDataFile(instance,folder, name);
150-
var response = instance.CellsShapesPutWorksheetShape(name, sheetName,null,drawingType, upperLeftRow, upperLeftColumn, top, left, width, height, folder);
153+
var response = instance.CellsShapesPutWorksheetShape(name, sheetName, shape, drawingType, upperLeftRow, upperLeftColumn, top, left, width, height, folder);
151154
Assert.IsInstanceOf<ShapeResponse>(response, "response is ShapeResponse");
152155
Assert.AreEqual(response.Code, 200);
153156
}

0 commit comments

Comments
 (0)