Commit 8fd4651e authored by Christian Giupponi's avatar Christian Giupponi

Add test for default version on module scaffold

parent b610d37c
...@@ -553,6 +553,16 @@ class ModuleScaffoldTest extends BaseTestCase ...@@ -553,6 +553,16 @@ class ModuleScaffoldTest extends BaseTestCase
$this->cleanUp(); $this->cleanUp();
} }
/** @test */
public function it_add_default_version_on_module_json_file()
{
$this->scaffoldModuleWithEloquent();
$moduleFile = $this->getModuleFile();
$this->assertEquals('1.0.0', $moduleFile->version);
}
/** /**
* Get the contents of composer.json file * Get the contents of composer.json file
* @return string * @return string
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment