-
Notifications
You must be signed in to change notification settings - Fork 0
Update go xorm tests #47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
dfcf480
to
3032832
Compare
@@ -26,28 +26,9 @@ subproject_teardown() { | |||
docker compose down | |||
} | |||
|
|||
subproject_examples() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed this command as no longer necessary (see comment in description). The tests are the source of truth for examples. No need to duplicate.
|
||
// Installing EQL | ||
func installDsl(engine *sql.DB) { | ||
path := "../../../release/cipherstash-encrypt-dsl.sql" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed as this is now being installed on init of docker with a download directly from eql
installEql() | ||
} | ||
|
||
func runExamples() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As noted in the description, these examples are duplicates of the e2e tests. Removing as there's no need for both, tests are the source of truth for working examples.
@@ -123,44 +123,6 @@ func (eb *EncryptedBoolField) FromDB(data []byte) error { | |||
return nil | |||
} | |||
|
|||
func setupDb() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unnecessary to have this. The db is created when docker starts
4103247
to
70ed523
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Big fan of these simplifications.
Nice work @fimac ❤️
Uh oh!
There was an error while loading. Please reload this page.