Skip to content
This repository was archived by the owner on Mar 17, 2025. It is now read-only.

Commit a295c1f

Browse files
committed
Fixed begin command, should have been broken before?
1 parent afa5ea4 commit a295c1f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/modem/begin-command_test.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ TEST_F(BeginCommandTest, hostOnly) {
5050
ExpectOutput("+OK");
5151

5252
BeginCommand command;
53-
ASSERT_TRUE(command.execute("BEGIN", &in_, &out_));
53+
ASSERT_TRUE(command.execute("BEGIN_DB", &in_, &out_));
5454

5555
std::unique_ptr<Firebase> firebase(command.firebase());
5656
EXPECT_EQ("", firebase->auth());
@@ -64,7 +64,7 @@ TEST_F(BeginCommandTest, hostAndAuth) {
6464
ExpectOutput("+OK");
6565

6666
BeginCommand command;
67-
ASSERT_TRUE(command.execute("BEGIN", &in_, &out_));
67+
ASSERT_TRUE(command.execute("BEGIN_DB", &in_, &out_));
6868

6969
std::unique_ptr<Firebase> firebase(command.firebase());
7070
EXPECT_EQ(auth, firebase->auth());
@@ -75,7 +75,7 @@ TEST_F(BeginCommandTest, neitherHostNorAuth) {
7575
ExpectOutputStartsWith("-FAIL");
7676

7777
BeginCommand command;
78-
ASSERT_FALSE(command.execute("BEGIN", &in_, &out_));
78+
ASSERT_FALSE(command.execute("BEGIN_DB", &in_, &out_));
7979

8080
std::unique_ptr<Firebase> firebase(command.firebase());
8181
EXPECT_FALSE(firebase);

0 commit comments

Comments
 (0)