Skip to content

Commit fb1e512

Browse files
authoredNov 22, 2019
Merge pull request #129 from anik120/bug-rearrange-dir
Bug 1774630: relocate test data
2 parents 4a06281 + 8b0a98c commit fb1e512

11 files changed

+1
-1
lines changed
 

‎pkg/sqlite/directory_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ func TestDirectoryLoaderWithBadBundleData(t *testing.T) {
7979
// Load and expect error
8080
// incorrectbundle has an operator which has incorrect data
8181
// (a number where a string is expected) in it's CSV
82-
loader := NewSQLLoaderForDirectory(store, "incorrectbundle")
82+
loader := NewSQLLoaderForDirectory(store, "pkg/sqlite/testdata/incorrectbundle")
8383
require.Error(t, loader.Populate(), "error loading manifests from directory: [error adding operator bundle : json: cannot unmarshal number into Go struct field EnvVar.Install.spec.Deployments.Spec.template.spec.containers.env.value of type string, error loading package into db: [FOREIGN KEY constraint failed, no bundle found for csv 3scale-community-operator.v0.3.0]]")
8484
}
8585
func TestQuerierForDirectory(t *testing.T) {

0 commit comments

Comments
 (0)
Please sign in to comment.