Skip to content

Commit 487f2ff

Browse files
committed
Polishing
[#197] Signed-off-by: Mark Paluch <mpaluch@vmware.com>
1 parent 5868d73 commit 487f2ff

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

src/test/java/io/r2dbc/mssql/ParametrizedMssqlStatementUnitTests.java

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
import io.r2dbc.mssql.message.token.RpcRequest;
2828
import io.r2dbc.mssql.util.TestByteBufAllocator;
2929
import io.r2dbc.mssql.util.Types;
30-
import org.junit.jupiter.api.Disabled;
3130
import org.junit.jupiter.api.Test;
3231
import reactor.test.StepVerifier;
3332

@@ -75,12 +74,10 @@ void shouldParseSql() {
7574
}
7675

7776
@Test
78-
@Disabled("TODO")
79-
void executeWithoutBindingsShouldFail() {
77+
void executeWithoutBindingsShouldNotFail() {
8078

81-
ParametrizedMssqlStatement statement = new ParametrizedMssqlStatement(TestClient.NO_OP, this.connectionOptions, "SELECT * from FOO where firstname = @firstname");
82-
83-
assertThatThrownBy(statement::execute).isInstanceOf(IllegalStateException.class);
79+
new ParametrizedMssqlStatement(TestClient.NO_OP, this.connectionOptions, "SELECT * from FOO where firstname = @firstname").execute();
80+
new ParametrizedMssqlStatement(TestClient.NO_OP, this.connectionOptions, "SELECT * FROM users WHERE email = 'name[@]gmail.com'").execute();
8481
}
8582

8683
@Test

0 commit comments

Comments
 (0)