mirror of
https://github.com/retailcrm/api-client-dotnet.git
synced 2025-04-11 13:00:55 +00:00
change default values for Stores list
This commit is contained in:
parent
f9f688c209
commit
55c649b119
2 changed files with 4 additions and 1 deletions
|
@ -13,7 +13,7 @@
|
|||
/// <param name="page"></param>
|
||||
/// <param name="limit"></param>
|
||||
/// <returns></returns>
|
||||
public Response StoreInventoriesGet(Dictionary<string, object> filter = null, int page = 0, int limit = 0)
|
||||
public Response StoreInventoriesGet(Dictionary<string, object> filter = null, int page = 1, int limit = 20)
|
||||
{
|
||||
Dictionary<string, object> parameters = new Dictionary<string, object>();
|
||||
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
using System.Collections.Generic;
|
||||
using System.Collections.Specialized;
|
||||
using System.Configuration;
|
||||
using System.Diagnostics;
|
||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||
using Retailcrm;
|
||||
using Retailcrm.Versions.V3;
|
||||
|
@ -88,6 +89,8 @@
|
|||
|
||||
Response response = _client.StoreInventoriesGet(filter, 1, 50);
|
||||
|
||||
Debug.WriteLine(response.GetRawResponse());
|
||||
|
||||
Assert.IsTrue(response.IsSuccessfull());
|
||||
Assert.IsTrue(response.GetStatusCode() == 200);
|
||||
Assert.IsInstanceOfType(response, typeof(Response));
|
||||
|
|
Loading…
Add table
Reference in a new issue