diff options
author | Christopher Speller <crspeller@gmail.com> | 2017-01-04 14:11:48 -0500 |
---|---|---|
committer | Harrison Healey <harrisonmhealey@gmail.com> | 2017-01-04 14:11:47 -0500 |
commit | 635628cf30460a75d3a870394ad66db91f3bea9f (patch) | |
tree | 17d40987fab0876c6dc95acec7f82b4f3eb36c01 /model/team_signup_test.go | |
parent | b3f2ab654e95325b556e0c93b41ea6e15e45fffe (diff) | |
download | chat-635628cf30460a75d3a870394ad66db91f3bea9f.tar.gz chat-635628cf30460a75d3a870394ad66db91f3bea9f.tar.bz2 chat-635628cf30460a75d3a870394ad66db91f3bea9f.zip |
Removing old signup team API (#4950)
Diffstat (limited to 'model/team_signup_test.go')
-rw-r--r-- | model/team_signup_test.go | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/model/team_signup_test.go b/model/team_signup_test.go deleted file mode 100644 index a830842aa..000000000 --- a/model/team_signup_test.go +++ /dev/null @@ -1,20 +0,0 @@ -// Copyright (c) 2015 Mattermost, Inc. All Rights Reserved. -// See License.txt for license information. - -package model - -import ( - "strings" - "testing" -) - -func TestTeamSignupJson(t *testing.T) { - team := Team{Id: NewId(), DisplayName: NewId()} - o := TeamSignup{Team: team, Data: "data"} - json := o.ToJson() - ro := TeamSignupFromJson(strings.NewReader(json)) - - if o.Team.Id != ro.Team.Id { - t.Fatal("Ids do not match") - } -} |