mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
FIX Misnamed test namespaces
This commit is contained in:
parent
ebeaf3e40d
commit
c959160375
@ -6,7 +6,7 @@ use Psr\SimpleCache\CacheInterface;
|
|||||||
use SilverStripe\Core\Cache\ApcuCacheFactory;
|
use SilverStripe\Core\Cache\ApcuCacheFactory;
|
||||||
use SilverStripe\Core\Cache\MemcachedCacheFactory;
|
use SilverStripe\Core\Cache\MemcachedCacheFactory;
|
||||||
use SilverStripe\Core\Injector\Injector;
|
use SilverStripe\Core\Injector\Injector;
|
||||||
use SilverStripe\Core\Test\Cache\CacheTest\MockCache;
|
use SilverStripe\Core\Tests\Cache\CacheTest\MockCache;
|
||||||
use SilverStripe\Dev\SapphireTest;
|
use SilverStripe\Dev\SapphireTest;
|
||||||
use Symfony\Component\Cache\Simple\ApcuCache;
|
use Symfony\Component\Cache\Simple\ApcuCache;
|
||||||
use Symfony\Component\Cache\Simple\MemcachedCache;
|
use Symfony\Component\Cache\Simple\MemcachedCache;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace SilverStripe\Core\Test\Cache\CacheTest;
|
namespace SilverStripe\Core\Tests\Cache\CacheTest;
|
||||||
|
|
||||||
use SilverStripe\Dev\TestOnly;
|
use SilverStripe\Dev\TestOnly;
|
||||||
|
|
||||||
|
@ -8,8 +8,8 @@ use SilverStripe\Security\Group;
|
|||||||
use SilverStripe\Security\InheritedPermissions;
|
use SilverStripe\Security\InheritedPermissions;
|
||||||
use SilverStripe\Security\Member;
|
use SilverStripe\Security\Member;
|
||||||
use SilverStripe\Security\PermissionChecker;
|
use SilverStripe\Security\PermissionChecker;
|
||||||
use SilverStripe\Security\Test\InheritedPermissionsTest\TestPermissionNode;
|
use SilverStripe\Security\Tests\InheritedPermissionsTest\TestPermissionNode;
|
||||||
use SilverStripe\Security\Test\InheritedPermissionsTest\TestDefaultPermissionChecker;
|
use SilverStripe\Security\Tests\InheritedPermissionsTest\TestDefaultPermissionChecker;
|
||||||
use SilverStripe\Versioned\Versioned;
|
use SilverStripe\Versioned\Versioned;
|
||||||
use Psr\SimpleCache\CacheInterface;
|
use Psr\SimpleCache\CacheInterface;
|
||||||
use ReflectionClass;
|
use ReflectionClass;
|
||||||
|
@ -34,7 +34,7 @@ SilverStripe\Security\Member:
|
|||||||
securityadmin:
|
securityadmin:
|
||||||
Groups: =>SilverStripe\Security\Group.securityadmins
|
Groups: =>SilverStripe\Security\Group.securityadmins
|
||||||
|
|
||||||
SilverStripe\Security\Test\InheritedPermissionsTest\TestPermissionNode:
|
SilverStripe\Security\Tests\InheritedPermissionsTest\TestPermissionNode:
|
||||||
about:
|
about:
|
||||||
Title: About Us
|
Title: About Us
|
||||||
CanEditType: OnlyTheseUsers
|
CanEditType: OnlyTheseUsers
|
||||||
@ -42,32 +42,32 @@ SilverStripe\Security\Test\InheritedPermissionsTest\TestPermissionNode:
|
|||||||
about-staff:
|
about-staff:
|
||||||
Title: Staff
|
Title: Staff
|
||||||
CanEditType: Inherit
|
CanEditType: Inherit
|
||||||
Parent: =>SilverStripe\Security\Test\InheritedPermissionsTest\TestPermissionNode.about
|
Parent: =>SilverStripe\Security\Tests\InheritedPermissionsTest\TestPermissionNode.about
|
||||||
about-staff-ceo:
|
about-staff-ceo:
|
||||||
Title: CEO
|
Title: CEO
|
||||||
Parent: =>SilverStripe\Security\Test\InheritedPermissionsTest\TestPermissionNode.about-staff
|
Parent: =>SilverStripe\Security\Tests\InheritedPermissionsTest\TestPermissionNode.about-staff
|
||||||
about-staffduplicate:
|
about-staffduplicate:
|
||||||
Title: Staff
|
Title: Staff
|
||||||
Parent: =>SilverStripe\Security\Test\InheritedPermissionsTest\TestPermissionNode.about
|
Parent: =>SilverStripe\Security\Tests\InheritedPermissionsTest\TestPermissionNode.about
|
||||||
products:
|
products:
|
||||||
Title: Products
|
Title: Products
|
||||||
CanEditType: OnlyTheseUsers
|
CanEditType: OnlyTheseUsers
|
||||||
EditorGroups: =>SilverStripe\Security\Group.editors
|
EditorGroups: =>SilverStripe\Security\Group.editors
|
||||||
products-product1:
|
products-product1:
|
||||||
Title: 1.1 Test Product
|
Title: 1.1 Test Product
|
||||||
Parent: =>SilverStripe\Security\Test\InheritedPermissionsTest\TestPermissionNode.products
|
Parent: =>SilverStripe\Security\Tests\InheritedPermissionsTest\TestPermissionNode.products
|
||||||
CanEditType: Inherit
|
CanEditType: Inherit
|
||||||
products-product2:
|
products-product2:
|
||||||
Title: Another Product
|
Title: Another Product
|
||||||
Parent: =>SilverStripe\Security\Test\InheritedPermissionsTest\TestPermissionNode.products
|
Parent: =>SilverStripe\Security\Tests\InheritedPermissionsTest\TestPermissionNode.products
|
||||||
CanEditType: Inherit
|
CanEditType: Inherit
|
||||||
products-product3:
|
products-product3:
|
||||||
Title: Another Product
|
Title: Another Product
|
||||||
Parent: =>SilverStripe\Security\Test\InheritedPermissionsTest\TestPermissionNode.products
|
Parent: =>SilverStripe\Security\Tests\InheritedPermissionsTest\TestPermissionNode.products
|
||||||
CanEditType: Inherit
|
CanEditType: Inherit
|
||||||
products-product4:
|
products-product4:
|
||||||
Title: Another Product
|
Title: Another Product
|
||||||
Parent: =>SilverStripe\Security\Test\InheritedPermissionsTest\TestPermissionNode.products
|
Parent: =>SilverStripe\Security\Tests\InheritedPermissionsTest\TestPermissionNode.products
|
||||||
CanEditType: OnlyTheseUsers
|
CanEditType: OnlyTheseUsers
|
||||||
EditorGroups: =>SilverStripe\Security\Group.admins
|
EditorGroups: =>SilverStripe\Security\Group.admins
|
||||||
history:
|
history:
|
||||||
@ -77,21 +77,21 @@ SilverStripe\Security\Test\InheritedPermissionsTest\TestPermissionNode:
|
|||||||
history-gallery:
|
history-gallery:
|
||||||
Title: Gallery
|
Title: Gallery
|
||||||
CanViewType: Inherit
|
CanViewType: Inherit
|
||||||
Parent: =>SilverStripe\Security\Test\InheritedPermissionsTest\TestPermissionNode.history
|
Parent: =>SilverStripe\Security\Tests\InheritedPermissionsTest\TestPermissionNode.history
|
||||||
contact:
|
contact:
|
||||||
Title: Contact Us
|
Title: Contact Us
|
||||||
CanViewType: Anyone
|
CanViewType: Anyone
|
||||||
contact-form:
|
contact-form:
|
||||||
Title: Send us a message
|
Title: Send us a message
|
||||||
CanViewType: Inherit
|
CanViewType: Inherit
|
||||||
Parent: =>SilverStripe\Security\Test\InheritedPermissionsTest\TestPermissionNode.contact
|
Parent: =>SilverStripe\Security\Tests\InheritedPermissionsTest\TestPermissionNode.contact
|
||||||
secret:
|
secret:
|
||||||
Title: Secret
|
Title: Secret
|
||||||
CanViewType: LoggedInUsers
|
CanViewType: LoggedInUsers
|
||||||
secret-nested:
|
secret-nested:
|
||||||
Title: Nested
|
Title: Nested
|
||||||
CanViewType: Inherit
|
CanViewType: Inherit
|
||||||
Parent: =>SilverStripe\Security\Test\InheritedPermissionsTest\TestPermissionNode.secret
|
Parent: =>SilverStripe\Security\Tests\InheritedPermissionsTest\TestPermissionNode.secret
|
||||||
protected:
|
protected:
|
||||||
Title: Protected
|
Title: Protected
|
||||||
CanViewType: OnlyTheseUsers
|
CanViewType: OnlyTheseUsers
|
||||||
@ -99,4 +99,4 @@ SilverStripe\Security\Test\InheritedPermissionsTest\TestPermissionNode:
|
|||||||
protected-child:
|
protected-child:
|
||||||
Title: Child
|
Title: Child
|
||||||
CanViewType: Inherit
|
CanViewType: Inherit
|
||||||
Parent: =>SilverStripe\Security\Test\InheritedPermissionsTest\TestPermissionNode.protected
|
Parent: =>SilverStripe\Security\Tests\InheritedPermissionsTest\TestPermissionNode.protected
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace SilverStripe\Security\Test\InheritedPermissionsTest;
|
namespace SilverStripe\Security\Tests\InheritedPermissionsTest;
|
||||||
|
|
||||||
use SilverStripe\Security\Member;
|
use SilverStripe\Security\Member;
|
||||||
use SilverStripe\Security\DefaultPermissionChecker;
|
use SilverStripe\Security\DefaultPermissionChecker;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace SilverStripe\Security\Test\InheritedPermissionsTest;
|
namespace SilverStripe\Security\Tests\InheritedPermissionsTest;
|
||||||
|
|
||||||
use SilverStripe\Core\Injector\Injector;
|
use SilverStripe\Core\Injector\Injector;
|
||||||
use SilverStripe\Dev\TestOnly;
|
use SilverStripe\Dev\TestOnly;
|
||||||
|
Loading…
Reference in New Issue
Block a user