Skip to content

Commit e70dba0

Browse files
committed
Fix test.
1 parent 3b68779 commit e70dba0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

core/src/test/java/ch/cyberduck/core/WindowsIntegratedCredentialsConfiguratorTest.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,16 @@
1818
import org.junit.Test;
1919

2020
import static org.junit.Assert.*;
21+
import static org.junit.Assume.assumeFalse;
2122
import static org.junit.Assume.assumeTrue;
2223

2324
public class WindowsIntegratedCredentialsConfiguratorTest {
2425

2526
@Test
2627
public void testConfigure() {
27-
assumeTrue(Factory.Platform.getDefault().equals(Factory.Platform.Name.linux));
28+
assumeFalse(Factory.Platform.getDefault().equals(Factory.Platform.Name.windows));
2829
final Host bookmark = new Host(new TestProtocol());
29-
assertSame(bookmark.getCredentials(), new WindowsIntegratedCredentialsConfigurator().configure(bookmark));
30+
assertEquals(bookmark.getCredentials(), new WindowsIntegratedCredentialsConfigurator().configure(bookmark));
3031
}
3132

3233
@Test

0 commit comments

Comments
 (0)