Skip to content
This repository was archived by the owner on Jul 7, 2021. It is now read-only.

Commit adf07b5

Browse files
committed
Remove LECTERN from test :)
1 parent 39a9540 commit adf07b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/world/bentobox/bentobox/listeners/flags/protection/PlaceBlocksListenerTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ public void testOnBlockPlaceNotAllowed() {
254254
public void testOnBlockPlaceBook() {
255255
when(island.isAllowed(Mockito.any(), Mockito.any())).thenReturn(false);
256256
Block placedBlock = mock(Block.class);
257-
when(placedBlock.getType()).thenReturn(Material.LECTERN);
257+
// when(placedBlock.getType()).thenReturn(Material.LECTERN);
258258
when(placedBlock.getLocation()).thenReturn(location);
259259
BlockState replacedBlockState = mock(BlockState.class);
260260
Block placedAgainst = mock(Block.class);

0 commit comments

Comments
 (0)