Skip to content

Commit

Permalink
テストコード修正
Browse files Browse the repository at this point in the history
Fixes: 5c33157 ("旧DM APIに関するコードを削除")
  • Loading branch information
upsilon committed Sep 27, 2018
1 parent 5c33157 commit 0b68e51
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions OpenTween.Tests/TwitterTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,6 @@ public void GetApiResultCount_AdditionalCountTest()

var timeline = SettingManager.Common.CountApi;
var reply = SettingManager.Common.CountApiReply;
var dm = 20; // DMは固定値
var more = SettingManager.Common.MoreCountApi;
var startup = SettingManager.Common.FirstCountApi;
var favorite = SettingManager.Common.FavoritesCountApi;
Expand All @@ -506,10 +505,6 @@ public void GetApiResultCount_AdditionalCountTest()
Assert.Equal(more, Twitter.GetApiResultCount(MyCommon.WORKERTYPE.Reply, true, false));
Assert.Equal(reply, Twitter.GetApiResultCount(MyCommon.WORKERTYPE.Reply, false, true)); //Replyの値が使われる

// DM
Assert.Equal(dm, Twitter.GetApiResultCount(MyCommon.WORKERTYPE.DirectMessegeRcv, false, false));
Assert.Equal(dm, Twitter.GetApiResultCount(MyCommon.WORKERTYPE.DirectMessegeSnt, false, false));

// Favorites
Assert.Equal(favorite, Twitter.GetApiResultCount(MyCommon.WORKERTYPE.Favorites, false, false));
Assert.Equal(favorite, Twitter.GetApiResultCount(MyCommon.WORKERTYPE.Favorites, true, false));
Expand Down

0 comments on commit 0b68e51

Please sign in to comment.