Skip to content

Commit

Permalink
Apply suggestions from review
Browse files Browse the repository at this point in the history
  • Loading branch information
ThisaruGuruge committed Oct 23, 2023
1 parent c3737a4 commit 91aca74
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-with-bal-test-native.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ concurrency:
cancel-in-progress: true

jobs:
call_stdlib_workflow:
name: Run StdLib Workflow
call_workflow_template:
name: Run Workflow Template
if: ${{ github.event_name != 'schedule' || (github.event_name == 'schedule' && github.repository_owner == 'ballerina-platform') }}
uses: ballerina-platform/ballerina-standard-library/.github/workflows/build-with-bal-test-graalvm-connector-template.yml@main
secrets: inherit
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Publish Release
on:
workflow_dispatch:
repository_dispatch:
types: [ stdlib-release-pipeline ]
types: [ connector-release-pipeline ]

jobs:
call_workflow:
Expand Down
1 change: 0 additions & 1 deletion ballerina/tests/main_test.bal
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,6 @@ public function testFindData() returns error? {
stream<Movie, error?> result = check mongoClient->find(COLLECTION_NAME,filter = findDoc);
check result.forEach(function(Movie data){
log:printInfo(data.year.toString());
test:assertTrue(data is Movie);
test:assertEquals(data.year,"2019","Querying year 2019 filter failed");
});
log:printInfo("Querying year 2019 filter tested successfully");
Expand Down

0 comments on commit 91aca74

Please sign in to comment.