-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2736 from objectcomputing/release/0.8
Release v0.8.6
- Loading branch information
Showing
27 changed files
with
494 additions
and
551 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
server/src/main/resources/db/common/V118__alter_guild_add_active.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ALTER TABLE guild ADD COLUMN is_active BOOLEAN DEFAULT TRUE; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -101,7 +101,7 @@ void setUp() { | |
void testGuildInstantiation() { | ||
final String name = "name"; | ||
final String description = "description"; | ||
Guild guild = new Guild(name, description, null, false); | ||
Guild guild = new Guild(name, description, null, false, true); | ||
assertEquals(guild.getName(), name); | ||
assertEquals(guild.getDescription(), description); | ||
} | ||
|
@@ -112,7 +112,7 @@ void testGuildInstantiation2() { | |
final String name = "name"; | ||
final String description = "description"; | ||
final String link = "https://www.compass.objectcomputing.com/guilds/name"; | ||
Guild guild = new Guild(id, name, description, link, false); | ||
Guild guild = new Guild(id, name, description, link, false, true); | ||
assertEquals(guild.getId(), id); | ||
assertEquals(guild.getName(), name); | ||
assertEquals(guild.getDescription(), description); | ||
|
@@ -126,7 +126,7 @@ void testConstraintViolation() { | |
final UUID id = UUID.randomUUID(); | ||
final String name = "name"; | ||
final String description = "description"; | ||
Guild guild = new Guild(id, name, description, null, false); | ||
Guild guild = new Guild(id, name, description, null, false, true); | ||
|
||
guild.setName(""); | ||
|
||
|
@@ -143,8 +143,8 @@ void testEquals() { | |
final String name = "name"; | ||
final String description = "description"; | ||
final String link = "https://www.compass.objectcomputing.com/guilds/name"; | ||
Guild g = new Guild(id, name, description, link, false); | ||
Guild g2 = new Guild(id, name, description, link, false); | ||
Guild g = new Guild(id, name, description, link, false, true); | ||
Guild g2 = new Guild(id, name, description, link, false, true); | ||
|
||
assertEquals(g, g2); | ||
|
||
|
@@ -160,7 +160,7 @@ void testHash() { | |
final String name = "name"; | ||
final String description = "description"; | ||
final String link = "https://www.compass.objectcomputing.com/guilds/name"; | ||
Guild g = new Guild(id, name, description, link, false); | ||
Guild g = new Guild(id, name, description, link, false, true); | ||
|
||
map.put(g, true); | ||
|
||
|
@@ -174,7 +174,7 @@ void testToString() { | |
final String description = "description------description"; | ||
final String link = "https://www.compass.objectcomputing.com/guilds/name"; | ||
final String isCommunity = "false"; | ||
Guild g = new Guild(id, name, description,link, false); | ||
Guild g = new Guild(id, name, description,link, false, true); | ||
|
||
String s = g.toString(); | ||
assertTrue(s.contains(name)); | ||
|
@@ -261,7 +261,7 @@ void testSaveGuildWithValidData() { | |
MemberProfile memberProfile = new MemberProfile(); | ||
memberProfile.setWorkEmail("[email protected]"); | ||
|
||
Guild guild = new Guild(UUID.randomUUID(), "test", "example", link, true); | ||
Guild guild = new Guild(UUID.randomUUID(), "test", "example", link, true, true); | ||
when(guildsRepo.search(any(), any())).thenReturn(Collections.emptyList()); | ||
when(guildsRepo.save(any())).thenReturn(guild); | ||
when(memberProfileServices.getById(any())).thenReturn(memberProfile); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.