Skip to content

Commit 6aca756

Browse files
committed
fixed config read error
1 parent c32af33 commit 6aca756

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

app/Authentication/Repository/SentryGroupRepository.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ public function all(array $search_filters = [])
9898
$q = new Group;
9999
$q = $this->applySearchFilters($search_filters, $q);
100100

101-
$results_per_page = $this->config_reader->get('laravel-authentication-acl::groups_per_page');
101+
$results_per_page = $this->config_reader->get('acl_base.groups_per_page');
102102
return $q->paginate($results_per_page);
103103
}
104104

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"type": "project",
2121
"require": {
2222
"laravel/framework": "5.0.*|5.1.*",
23-
"illuminate/html": "5.0.*|5.1.*",
23+
"illuminate/html": "5.0.*",
2424
"intervention/image": "2.*",
2525
"jacopo/authentication-sentry": "1.0.*",
2626
"gregwar/captcha": "1.0.11"

database/migrations/2014_02_26_165011_create_user_profile_table.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class CreateUserProfileTable extends Migration {
1212
*/
1313
public function up()
1414
{
15-
Schema::dropIfExists('users_profile');
15+
Schema::dropIfExists('user_profile');
1616
Schema::create('user_profile', function(Blueprint $table)
1717
{
1818
$table->increments('id');

tests/unit/SentryGroupRepositoryTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ public function mockConfigPerPage()
132132
{
133133
$per_page = 5;
134134
$config = m::mock('StdClass');
135-
$config->shouldReceive('get')->with('laravel-authentication-acl::groups_per_page')->andReturn($per_page)->getMock();
135+
$config->shouldReceive('get')->with('acl_base.groups_per_page')->andReturn($per_page)->getMock();
136136
$repo = new SentryGroupRepository($config);
137137

138138
return $repo;

0 commit comments

Comments
 (0)