-
-
Notifications
You must be signed in to change notification settings - Fork 220
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added new PhotoSizeType "J", fixed set market id
- Loading branch information
dslekom
committed
Dec 15, 2023
1 parent
d663218
commit c553a34
Showing
4 changed files
with
53 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
using FluentAssertions; | ||
using VkNet.Model; | ||
using Xunit; | ||
|
||
namespace VkNet.Tests.Models; | ||
|
||
public class MarketModel | ||
{ | ||
[Fact] | ||
public void ToString_MarketShouldHaveIdAndAccessKey() | ||
{ | ||
var market = new Market | ||
{ | ||
Id = 1234, | ||
OwnerId = 1234, | ||
AccessKey = "test" | ||
}; | ||
|
||
var result = market.ToString(); | ||
|
||
result.Should() | ||
.Be("market1234_1234_test"); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters