Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-pages.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaime Martinez <jmartinez@gitlab.com>2020-07-27 04:13:51 +0300
committerJaime Martinez <jmartinez@gitlab.com>2020-08-07 08:12:40 +0300
commita3b311f1522a756997a88aa3dabdf1c46acb0cfa (patch)
tree2d6d8291c3436654dc01043ca7cea54b02378ae0
parent2413f92f5ca9f82b08b74ddaaf202f1e69a4afd2 (diff)
Use IsReady instead
-rw-r--r--internal/source/source_mock.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/internal/source/source_mock.go b/internal/source/source_mock.go
index d7cd1533..4d67b0be 100644
--- a/internal/source/source_mock.go
+++ b/internal/source/source_mock.go
@@ -30,6 +30,12 @@ func (m *MockSource) IsReady() bool {
return args.Get(0).(bool)
}
+func (m *MockSource) IsReady() bool {
+ args := m.Called()
+
+ return args.Get(0).(bool)
+}
+
// NewMockSource returns a new Source mock for testing
func NewMockSource() *MockSource {
return &MockSource{}