Skip to content

Commit

Permalink
fix assertion based on dynamic env variable (#5637)
Browse files Browse the repository at this point in the history
  • Loading branch information
nickgros authored Feb 18, 2025
1 parent 068de68 commit 0435f6e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package org.sagebionetworks.web.server.servlet;

import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.mockito.Mockito.times;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;
Expand Down Expand Up @@ -51,7 +51,7 @@ public void setUp() throws SynapseException {
@Test
public void testGetVersion() throws RestServiceException, SynapseException {
String result = stackVersionProviderImpl.get("www.synapse.org");
assertEquals("develop-SNAPSHOT,mockSynapseVersion", result);
assertNotNull(result);

verify(mockSynapseProvider).createNewClient("www.synapse.org");
verify(mockProdSynapseClient).getVersionInfo();
Expand Down

0 comments on commit 0435f6e

Please sign in to comment.