hunk.code_window:         this.onHide = this.onHide.bind(this);
           this.state = {
               serverError: ''
           };
       }
  
hunk.labels: keep keep add keep keep keep
hunk.after_edit:             header: props.channel.header,
  
hunk.file_path: web/react/components/edit_channel_header_modal.jsx
hunk.type: add
file: // Copyright (c) 2015 Mattermost, Inc. All Rights Reserved.
  // See License.txt for license information.
  
  package model
  
  import (
  	"strings"
  	"testing"
  )
  
  func TestAuditsJson(t *testing.T) {
  	audit := Audit{Id: NewId(), UserId: NewId(), CreateAt: GetMillis()}
  	json := audit.ToJson()
  	result := AuditFromJson(strings.NewReader(json))
  
  	if audit.Id != result.Id {
  		t.Fatal("Ids do not match")
  	}
  
  	var audits Audits = make([]Audit, 1)
  	audits[0] = audit
  
  	ljson := audits.ToJson()
  	results := AuditsFromJson(strings.NewReader(ljson))
  
  	if audits[0].Id != results[0].Id {
  		t.Fatal("Ids do not match")
  	}
  }
  