Made changes in save_scope() and getReserveScopes()

pull/1367/head
Aishwarya Gosavi 2018-03-01 19:43:32 -05:00 committed by GitHub
parent f1c0b3a460
commit a7ce3eb282
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 6 deletions

View File

@ -221,21 +221,21 @@ public class TestDefaultSystemScopeService {
}
@Test
public void save_scope() {
public void save_null() {
// check null condition
assertThat(service.save(defaultScope1), is(nullValue()));
assertThat(service.save(mySystemScope), equalTo(mySystemScope));
}
@Test
public void save_value(){
assertThat(service.save(mySystemScope), equalTo(mySystemScope))
}
@Test
public void getReserveScopes() {
Set<SystemScope> reserved = SystemScopeService.reservedScopes;
assertThat(service.getReserved(), equalTo(reserved));
assertThat(service.getReserved(), equalTo(SystemScopeService.reservedScopes));
}