Skip to content

Commit

Permalink
Merge master into availability
Browse files Browse the repository at this point in the history
  • Loading branch information
s-nakajima committed May 19, 2021
2 parents 938f669 + 42ee663 commit 0afffa1
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 14 deletions.
28 changes: 14 additions & 14 deletions Test/Case/Model/Topic/PrivateGetRoomsConditionsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,8 @@ public function dataProvider() {
0 => array(
'Topic.room_id' => array(
0 => '2',
1 => '4',
2 => '5',
1 => '5',
2 => '4',
3 => '11',
4 => '12',
),
Expand Down Expand Up @@ -197,8 +197,8 @@ public function dataProvider() {
2 => array(
'Block.room_id' => array(
0 => '2',
1 => '4',
2 => '5',
1 => '5',
2 => '4',
3 => '11',
4 => '12',
),
Expand All @@ -217,8 +217,8 @@ public function dataProvider() {
0 => array(
'Topic.room_id' => array(
0 => '2',
1 => '4',
2 => '5',
1 => '5',
2 => '4',
3 => '11',
4 => '12',
),
Expand Down Expand Up @@ -259,8 +259,8 @@ public function dataProvider() {
2 => array(
'Block.room_id' => array(
0 => '2',
1 => '4',
2 => '5',
1 => '5',
2 => '4',
3 => '11',
),
),
Expand All @@ -279,8 +279,8 @@ public function dataProvider() {
0 => array(
'Topic.room_id' => array(
0 => '2',
1 => '4',
2 => '5',
1 => '5',
2 => '4',
3 => '11',
),
'Topic.is_latest' => true,
Expand Down Expand Up @@ -362,8 +362,8 @@ public function dataProvider() {
'OR' => array(
'Topic.room_id' => array(
0 => '2',
1 => '4',
2 => '5',
1 => '5',
2 => '4',
3 => '12',
),
'TopicReadable.user_id' => $userId,
Expand Down Expand Up @@ -429,8 +429,8 @@ public function dataProvider() {
'OR' => array(
'Topic.room_id' => array(
0 => '2',
1 => '4',
2 => '5',
1 => '5',
2 => '4',
),
'TopicReadable.user_id' => $userId,
),
Expand Down
12 changes: 12 additions & 0 deletions Test/Fixture/Room4topicsFixture.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ class Room4topicsFixture extends RoomFixture {
'default_participation' => '1',
'page_layout_permitted' => '1',
'theme' => 'Default',
'sort_key' => '~00000001-00000001',
),
//パブリックスペース、パブリックルーム(room_id=5)
array(
Expand All @@ -68,6 +69,7 @@ class Room4topicsFixture extends RoomFixture {
'default_participation' => true,
'page_layout_permitted' => true,
'theme' => null,
'sort_key' => '~00000001-00000001-00000001',
),

//プライベート
Expand All @@ -84,6 +86,7 @@ class Room4topicsFixture extends RoomFixture {
'default_participation' => '0',
'page_layout_permitted' => '0',
'theme' => 'Default',
'sort_key' => '~00000001-00000002',
),
//プライベートルーム、管理者(room_id=6)
array(
Expand All @@ -99,6 +102,7 @@ class Room4topicsFixture extends RoomFixture {
'default_participation' => '0',
'page_layout_permitted' => '0',
'theme' => null,
'sort_key' => '~00000001-00000002-00000001',
),
//プライベートルーム、編集長(room_id=7)
array(
Expand All @@ -114,6 +118,7 @@ class Room4topicsFixture extends RoomFixture {
'default_participation' => '0',
'page_layout_permitted' => '0',
'theme' => null,
'sort_key' => '~00000001-00000002-00000002',
),
//プライベートルーム、編集者(room_id=8)
array(
Expand All @@ -129,6 +134,7 @@ class Room4topicsFixture extends RoomFixture {
'default_participation' => '0',
'page_layout_permitted' => '0',
'theme' => null,
'sort_key' => '~00000001-00000002-00000003',
),
//プライベートルーム、一般1(room_id=9)
array(
Expand All @@ -144,6 +150,7 @@ class Room4topicsFixture extends RoomFixture {
'default_participation' => '0',
'page_layout_permitted' => '0',
'theme' => null,
'sort_key' => '~00000001-00000002-00000004',
),
//プライベートルーム、ゲスト(room_id=10)
array(
Expand All @@ -159,6 +166,7 @@ class Room4topicsFixture extends RoomFixture {
'default_participation' => '0',
'page_layout_permitted' => '0',
'theme' => null,
'sort_key' => '~00000001-00000002-00000005',
),
//プライベートルーム、一般2(room_id=13)
array(
Expand All @@ -174,6 +182,7 @@ class Room4topicsFixture extends RoomFixture {
'default_participation' => '0',
'page_layout_permitted' => '0',
'theme' => null,
'sort_key' => '~00000001-00000002-00000006',
),

//コミュニティスペース
Expand All @@ -190,6 +199,7 @@ class Room4topicsFixture extends RoomFixture {
'default_participation' => '1',
'page_layout_permitted' => '1',
'theme' => 'Default',
'sort_key' => '~00000001-00000003',
),
//コミュニティスペース、ルーム1(room_id=11)
array(
Expand All @@ -205,6 +215,7 @@ class Room4topicsFixture extends RoomFixture {
'default_participation' => '0',
'page_layout_permitted' => null,
'theme' => null,
'sort_key' => '~00000001-00000003-00000001',
),
//コミュニティスペース、ルーム2(room_id=12)
array(
Expand All @@ -220,6 +231,7 @@ class Room4topicsFixture extends RoomFixture {
'default_participation' => '0',
'page_layout_permitted' => null,
'theme' => null,
'sort_key' => '~00000001-00000003-00000002',
),
);
}

0 comments on commit 0afffa1

Please sign in to comment.