diff --git a/coverage/coverage_report.html b/coverage/coverage_report.html
index 72768a0..15de8cb 100644
--- a/coverage/coverage_report.html
+++ b/coverage/coverage_report.html
@@ -128,7 +128,7 @@
Coverage Report
- Generated on 09 Feb 15 20:17 -0500 with
gocov-htmlPackage Overview: github.com/ryanbradynd05/go-tmdb 100.00%
This is a coverage report created after analysis of the github.com/ryanbradynd05/go-tmdb
package. It
+
Generated on 09 Feb 15 20:28 -0500 with
gocov-htmlPackage Overview: github.com/ryanbradynd05/go-tmdb 100.00%
This is a coverage report created after analysis of the github.com/ryanbradynd05/go-tmdb
package. It
has been generated with the following command:
gocov test github.com/ryanbradynd05/go-tmdb | gocov-html
Here are the stats. Please select a function name to view its implementation and see what's left for testing.
TMDb.SearchTv(...) | github.com/ryanbradynd05/go-tmdb/search.go | 100.00% | 7/7 |
TMDb.SearchKeyword(...) | github.com/ryanbradynd05/go-tmdb/search.go | 100.00% | 7/7 |
diff --git a/local.yml.example b/local.yml.example
index c09cc5c..ca638db 100644
--- a/local.yml.example
+++ b/local.yml.example
@@ -3,4 +3,5 @@ user: ""
pw: ""
session: ""
guestSession: ""
-accountID: 0
\ No newline at end of file
+accountID: 0
+testKey: ""
\ No newline at end of file
diff --git a/main_test.go b/main_test.go
index 8f082a1..3698305 100644
--- a/main_test.go
+++ b/main_test.go
@@ -10,8 +10,6 @@ import (
"testing"
)
-const testKey string = "b12bd26ee15e6972f2f4c03363b74fa2"
-
func Test(t *testing.T) { TestingT(t) }
type TmdbSuite struct {
@@ -38,6 +36,7 @@ func (s *TmdbSuite) SetUpSuite(c *C) {
s.guestSession, _ = config.Get("guestSession")
accountID, _ := config.Get("accountID")
s.accountID, _ = strconv.Atoi(accountID)
+ testKey, _ := config.Get("testKey")
s.tmdb = Init(testKey)
}