Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dibyom authored and robzienert committed Mar 27, 2019
1 parent 6c09171 commit 8c4679f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ public Optional<UserPermission> get(@NonNull String id) {
userResponseMap.put(r, resourceMap);
Response<Map<String, String>> unrestrictedMap = p.hgetAll(unrestrictedUserKey(r));
unrestrictedResponseMap.put(r, unrestrictedMap);
log.info("Resource: {}; map size: {}", r, unrestrictedResponseMap.size());
}
Response<Boolean> admin = p.sismember(adminKey(), id);
p.sync();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,13 @@

import com.netflix.spinnaker.fiat.Main;
import com.netflix.spinnaker.fiat.config.ResourcesConfig;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.context.annotation.PropertySource;
import org.springframework.test.annotation.DirtiesContext;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.TestPropertySource;
import org.springframework.test.context.junit4.SpringRunner;
import org.springframework.test.context.web.WebAppConfiguration;

import java.lang.annotation.ElementType;
Expand All @@ -23,5 +27,7 @@
ResourcesConfig.class,
Main.class}
)
@RunWith(SpringRunner.class)
@SpringBootTest
public @interface FiatSystemTest {
}

0 comments on commit 8c4679f

Please sign in to comment.