commandbox question: when executing ```coldbox cre...
# box-products
w
commandbox question: when executing
Copy code
coldbox create model-test testsdirectory=tests/specs/unit/customers/entities/ path=models.customers.entities.qEntry
I get some placeholder in my test, e.g
component extends="coldbox.system.testing.BaseModelTest" model="|modelPath|"{
so is this a bug or am i doing something wrong in the coldbox create call? I would expect the
|modelPath|
was replaced by
models.customers.entities.qEntry
@bdw429s I think a replacement in model-test was missing. https://github.com/Ortus-Solutions/commandbox/pull/310
b
Seems like a bug.
I didn't make those commands 😁
I'm on holiday ATM, but I'll merge your fix next week.
w
No hurry, I fixed it locally for now. Quite handy if you are creating 100+ unit tests with this command 🙂. Just surprised it has not been discovered before. Nobody using
cold-box create model-test
?? 😕
b
Not really, lol