diff --git a/database/migrations/2018_09_16_101736_create_server_table.php b/database/migrations/2018_09_16_101736_create_server_table.php index 0ee072aa4..a95e00b1f 100644 --- a/database/migrations/2018_09_16_101736_create_server_table.php +++ b/database/migrations/2018_09_16_101736_create_server_table.php @@ -27,6 +27,7 @@ public function up() (new Tag(['name' => 'freebies']))->save(); (new Tag(['name' => 'gepard']))->save(); (new Tag(['name' => 'guild-pack']))->save(); + (new Tag(['name' => 'pk-mode']))->save(); (new Tag(['name' => 'mobile']))->save(); (new Tag(['name' => 'frost']))->save(); (new Tag(['name' => 'no-donations']))->save(); diff --git a/tests/Feature/ListingControllerTest.php b/tests/Feature/ListingControllerTest.php index 18e0f032d..69244edd3 100644 --- a/tests/Feature/ListingControllerTest.php +++ b/tests/Feature/ListingControllerTest.php @@ -63,7 +63,7 @@ public function test_listing_can_be_stored() $createdListing = Listing::whereName('foo')->first(); - $this->assertDatabaseHas('listing_tag', ['listing_id' => $createdListing->getKey(), 'tag_id' => 2]); + $this->assertDatabaseHas('listing_tag', ['listing_id' => $createdListing->getKey(), 'tag_id' => 1]); $this->assertDatabaseHas('listing_configurations', array_merge($configs->toArray(), ['listing_id' => $createdListing->getKey()]));