github.com/rifflearning/mattermost-server@v5.11.1+incompatible/testlib/store.go (about)

     1  // Copyright (c) 2017-present Mattermost, Inc. All Rights Reserved.
     2  // See License.txt for license information.
     3  
     4  package testlib
     5  
     6  import (
     7  	"github.com/mattermost/mattermost-server/store"
     8  )
     9  
    10  type TestStore struct {
    11  	store.Store
    12  }
    13  
    14  func (s *TestStore) Close() {
    15  	// Don't propagate to the underlying store, since this instance is persistent.
    16  }