Skip to content

Commit

Permalink
Add missing --release flag in test
Browse files Browse the repository at this point in the history
  • Loading branch information
arteymix committed Oct 20, 2023
1 parent 2c18b2d commit 0618210
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public void test() throws MalformedURLException {
when( userManager.getCurrentUser() ).thenReturn( user );
when( externalDatabaseService.findByNameWithAuditTrail( "test" ) ).thenReturn( ed );
when( externalDatabaseService.findByNameWithExternalDatabases( "test2" ) ).thenReturn( ed2 );
externalDatabaseUpdaterCli.executeCommand( new String[] { "--name", "test", "--description", "Youpi!", "--release-note", "Yep", "--release-version", "123", "--release-url", "http://example.com/test", "--parent-database", "test2" } );
externalDatabaseUpdaterCli.executeCommand( new String[] { "--name", "test", "--description", "Youpi!", "--release", "--release-note", "Yep", "--release-version", "123", "--release-url", "http://example.com/test", "--parent-database", "test2" } );
verify( externalDatabaseService ).findByNameWithExternalDatabases( "test2" );
verify( externalDatabaseService ).findByNameWithAuditTrail( "test" );
assertThat( ed.getDescription() ).isEqualTo( "Youpi!" );
Expand Down

0 comments on commit 0618210

Please sign in to comment.