Browse Source

Use Size not PixelSize in ImageTests.

`Image` now bases the size of a bitmap on `IImage.Size`.
pull/3378/head
Steven Kirk 6 years ago
parent
commit
11a714dbf7
  1. 2
      tests/Avalonia.Controls.UnitTests/ImageTests.cs

2
tests/Avalonia.Controls.UnitTests/ImageTests.cs

@ -169,7 +169,7 @@ namespace Avalonia.Controls.UnitTests
private IBitmap CreateBitmap(int width, int height)
{
return Mock.Of<IBitmap>(x => x.PixelSize == new PixelSize(width, height));
return Mock.Of<IBitmap>(x => x.Size == new Size(width, height));
}
}
}

Loading…
Cancel
Save