We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5a7908e commit 3fc10b3Copy full SHA for 3fc10b3
Tests/Functional/Command/ImportCommandTest.php
@@ -134,6 +134,21 @@ public function testConfigOnlyOptionImport()
134
$this->assertGreaterThan(0, $this->getTranslationsCount(['lt'], ['messages']));
135
}
136
137
+ /**
138
+ * Tests if exception is thrown when unknown bundle is provided.
139
+ *
140
+ * @expectedException \InvalidArgumentException
141
+ */
142
+ public function testIncorrectBundleImportException()
143
+ {
144
+ $this->commandTester->execute(
145
+ [
146
+ 'command' => $this->command->getName(),
147
+ 'bundle' => 'Acme\AcmeTestBundle',
148
+ ]
149
+ );
150
+ }
151
+
152
/**
153
* Returns translations count.
154
*
0 commit comments